diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-17 21:22:34 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-17 21:22:46 +1200 |
commit | 1432d04a7be8397becd5c88f9e1f075861acbfdc (patch) | |
tree | fa7a4b6619ffee11a4eac9d28f5ab56d4d1fe3d0 /setup/traccar.service | |
parent | 99bf70e274fbfb03e0f65c564d7c9f5bdaf115c4 (diff) | |
download | trackermap-server-1432d04a7be8397becd5c88f9e1f075861acbfdc.tar.gz trackermap-server-1432d04a7be8397becd5c88f9e1f075861acbfdc.tar.bz2 trackermap-server-1432d04a7be8397becd5c88f9e1f075861acbfdc.zip |
Update packaging scripts
Diffstat (limited to 'setup/traccar.service')
-rw-r--r-- | setup/traccar.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/setup/traccar.service b/setup/traccar.service new file mode 100644 index 000000000..5bb4249f0 --- /dev/null +++ b/setup/traccar.service @@ -0,0 +1,12 @@ +[Unit] +Description=traccar +After=network.target + +[Service] +Type=simple +WorkingDirectory=/opt/traccar +ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml +SyslogIdentifier=traccar + +[Install] +WantedBy=multi-user.target |