From 1432d04a7be8397becd5c88f9e1f075861acbfdc Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 17 Sep 2018 21:22:34 +1200 Subject: Update packaging scripts --- setup/traccar.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 setup/traccar.service (limited to 'setup/traccar.service') 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 -- cgit v1.2.3