19 lines
408 B
Desktop File
19 lines
408 B
Desktop File
[Unit]
|
|
Description=kontor-spring
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=tpeetz
|
|
Group=tpeetz
|
|
Environment="JAVA_HOME=/usr/lib/jvm/java-25-openjdk-amd64"
|
|
WorkingDirectory=/home/tpeetz/prod
|
|
ExecStart=java -Dvaadin.productionMode=true -jar /home/tpeetz/prod/kontor-spring-0.4.0-SNAPSHOT.jar
|
|
ExecStop=/bin/kill -15 $MAINPID
|
|
SuccessExitStatus=143
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|