From 363ca19cb2ac1b56e3db8f38c89cf61c73806462 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 14 Sep 2018 17:20:14 +1200 Subject: Add Linux systemd config --- setup/other/traccar.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 setup/other/traccar.service (limited to 'setup/other') 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 -- cgit v1.2.3