mirror of
https://github.com/archlinux/aur.git
synced 2026-02-15 04:51:13 +01:00
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
--- ArchiSteamFarm@.service.org 2022-10-12 15:23:39.580608477 +0200
|
|
+++ ArchiSteamFarm@.service 2022-10-12 15:21:37.050911724 +0200
|
|
@@ -3,7 +3,7 @@
|
|
|
|
[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
|
|
SyslogIdentifier=asf-%i
|
|
@@ -27,7 +27,8 @@
|
|
ProtectKernelTunables=yes
|
|
ProtectProc=invisible
|
|
ProtectSystem=strict
|
|
-ReadWritePaths=/home/%i/ArchiSteamFarm /tmp
|
|
+ReadWritePaths=%h /tmp
|
|
+StateDirectory=%i
|
|
RemoveIPC=yes
|
|
RestrictAddressFamilies=AF_INET AF_INET6
|
|
RestrictNamespaces=yes
|
|
@@ -41,7 +42,7 @@
|
|
# TODO: Requires systemd v247+ due to https://github.com/systemd/systemd/issues/16666
|
|
# Since we don't want to enforce OS upgrade for everybody just yet, it's commented out for now
|
|
# We'll likely enforce it when .NET switches to Debian 11+ requirement
|
|
-#SecureBits=noroot-locked
|
|
+SecureBits=noroot-locked
|
|
|
|
[Unit]
|
|
After=network.target
|