summarylogtreecommitdiffstats
path: root/service.patch
blob: 768d78dd434b48497c572d9c10d78d427c122487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ArchiSteamFarm@.service.org	2023-11-19 13:52:16.626353458 +0100
+++ ArchiSteamFarm@.service	2023-11-19 13:53:50.443707084 +0100
@@ -4,5 +4,5 @@
 [Service]
 EnvironmentFile=-/etc/asf/%i
-ExecStart=/home/%i/ArchiSteamFarm/ArchiSteamFarm --no-restart --process-required --service --system-required
+ExecStart=/usr/bin/dotnet /usr/lib/asf/ArchiSteamFarm.dll --no-restart --process-required --service --system-required
 Restart=on-success
 RestartSec=1s
@@ -29,5 +29,6 @@
 ProtectProc=invisible
 ProtectSystem=strict
-ReadWritePaths=/home/%i/ArchiSteamFarm /tmp
+ReadWritePaths=%h /tmp
+StateDirectory=%i
 RemoveIPC=yes
 RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX