diff options
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 |