summarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service17
1 files changed, 17 insertions, 0 deletions
diff --git a/service b/service
new file mode 100644
index 000000000000..de10af3ce83c
--- /dev/null
+++ b/service
@@ -0,0 +1,17 @@
+[Unit]
+Description=ArchiSteamFarm Service
+Documentation=https://github.com/JustArchi/ArchiSteamFarm/wiki
+Documentation=https://justarchi.github.io/ArchiSteamFarm/
+Wants=network.target
+After=network.target
+
+[Service]
+User=asf
+Group=asf
+Environment="ASF_PATH=/var/lib/asf"
+ExecStart=/usr/bin/dotnet /usr/lib/asf/ArchiSteamFarm.dll --process-required --no-restart
+ProtectSystem=true
+ReadWritePaths=/var/lib/asf
+
+[Install]
+WantedBy=multi-user.target