aboutsummaryrefslogtreecommitdiff
path: root/setup/traccar.service
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-24 09:57:01 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-24 09:57:01 +0400
commitd12056916958e1ccab3b94db0a5a57aa096a8061 (patch)
treee83648df179ef53d509a2d1ef6878c46e66414c2 /setup/traccar.service
parent49d57451db0b9860f40b2ba53bc96069bb86261f (diff)
downloadtraccar-server-d12056916958e1ccab3b94db0a5a57aa096a8061.tar.gz
traccar-server-d12056916958e1ccab3b94db0a5a57aa096a8061.tar.bz2
traccar-server-d12056916958e1ccab3b94db0a5a57aa096a8061.zip
Gracefully handle systemd exit (fix #4121)
Diffstat (limited to 'setup/traccar.service')
-rw-r--r--setup/traccar.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/traccar.service b/setup/traccar.service
index 5bb4249f0..fe746dda8 100644
--- a/setup/traccar.service
+++ b/setup/traccar.service
@@ -7,6 +7,7 @@ Type=simple
WorkingDirectory=/opt/traccar
ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
SyslogIdentifier=traccar
+SuccessExitStatus=143
[Install]
WantedBy=multi-user.target