From 6bf4136ad8a1b16c7635ad11ac0b66cc2c8d55bb Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Wed, 23 Feb 2022 15:29:03 +1100 Subject: [PATCH] add systemd service --- forza-telemetry.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 forza-telemetry.service diff --git a/forza-telemetry.service b/forza-telemetry.service new file mode 100644 index 0000000..b744894 --- /dev/null +++ b/forza-telemetry.service @@ -0,0 +1,17 @@ +[Unit] +Description=Forza Race Telemetry Daemon +After=network-online.target + +[Service] +Type=simple +UMask=007 + +ExecStart=/var/lib/forza/telemetry -v -f /var/lib/forza/logs + +Restart=on-failure + +# Time to wait before forcefully stopped. +TimeoutStopSec=300 + +[Install] +WantedBy=multi-user.target \ No newline at end of file