aboutsummaryrefslogtreecommitdiff
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
parent49d57451db0b9860f40b2ba53bc96069bb86261f (diff)
downloadtrackermap-server-d12056916958e1ccab3b94db0a5a57aa096a8061.tar.gz
trackermap-server-d12056916958e1ccab3b94db0a5a57aa096a8061.tar.bz2
trackermap-server-d12056916958e1ccab3b94db0a5a57aa096a8061.zip
Gracefully handle systemd exit (fix #4121)
-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