diff --git a/src/main/deb/lib/systemd/system/r2cloud.service b/src/main/deb/lib/systemd/system/r2cloud.service index 417df3e2..20d6279d 100644 --- a/src/main/deb/lib/systemd/system/r2cloud.service +++ b/src/main/deb/lib/systemd/system/r2cloud.service @@ -5,6 +5,7 @@ After=time-sync.target [Service] WorkingDirectory=/home/pi/r2cloud/ ExecStart=/home/pi/r2cloud-jdk/bin/java -cp /home/pi/r2cloud/etc:/home/pi/r2cloud/lib/*:/usr/share/java/r2cloud/* -Djava.library.path=/usr/lib/jni -Djradio.metrics.enabled=true -Duser.timezone=UTC -Djava.util.logging.config.file=/home/pi/r2cloud/etc/logging-prod.properties ru.r2cloud.R2Cloud etc/config-prod.properties +SyslogIdentifier=r2cloud SuccessExitStatus=143 Restart=always User=pi