aboutsummaryrefslogtreecommitdiff
path: root/setup/traccar.service
diff options
context:
space:
mode:
authorjcardus <joaquim.cardeira@gmail.com>2020-03-25 17:25:19 +0000
committerjcardus <joaquim.cardeira@gmail.com>2020-03-25 17:25:19 +0000
commitfeac85bad4004fb3e316a88285626e12840398d2 (patch)
treed268a79d63b9d1f27b6e433fedc90de7b427b172 /setup/traccar.service
parent7b669e3181f637f06b31b55bd930584c7b08e897 (diff)
parentf3d465abe7f255ec44e976caade642e4c2fd7598 (diff)
downloadtrackermap-server-feac85bad4004fb3e316a88285626e12840398d2.tar.gz
trackermap-server-feac85bad4004fb3e316a88285626e12840398d2.tar.bz2
trackermap-server-feac85bad4004fb3e316a88285626e12840398d2.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'setup/traccar.service')
-rw-r--r--setup/traccar.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup/traccar.service b/setup/traccar.service
index fe746dda8..6ae24ab8a 100644
--- a/setup/traccar.service
+++ b/setup/traccar.service
@@ -8,6 +8,9 @@ WorkingDirectory=/opt/traccar
ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
SyslogIdentifier=traccar
SuccessExitStatus=143
+WatchdogSec=100
+Restart=on-failure
+RestartSec=10
[Install]
WantedBy=multi-user.target