diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-14 17:20:14 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-14 17:20:14 +1200 |
commit | 363ca19cb2ac1b56e3db8f38c89cf61c73806462 (patch) | |
tree | 0b33216033176b5364711749104fa7b732a31add | |
parent | 5d819b2776328e914a26ae011692084e1b614e26 (diff) | |
download | trackermap-server-363ca19cb2ac1b56e3db8f38c89cf61c73806462.tar.gz trackermap-server-363ca19cb2ac1b56e3db8f38c89cf61c73806462.tar.bz2 trackermap-server-363ca19cb2ac1b56e3db8f38c89cf61c73806462.zip |
Add Linux systemd config
-rw-r--r-- | setup/other/traccar.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/setup/other/traccar.service b/setup/other/traccar.service new file mode 100644 index 000000000..4b7404653 --- /dev/null +++ b/setup/other/traccar.service @@ -0,0 +1,12 @@ +[Unit] +Description=traccar +After=network.target + +[Service] +Type=simple +WorkingDirectory=/opt/traccar +ExecStart=/bin/sh -c "exec java -jar tracker-server.jar conf/traccar.xml" +SyslogIdentifier=traccar + +[Install] +WantedBy=multi-user.target |