Files
ansible-collection/roles/asf/files/asf.service
T

50 lines
1.2 KiB
Desktop File
Raw Normal View History

2026-10-02 21:34:01 +04:00
[Unit]
Description=ArchiSteamFarm Service
Documentation=https://github.com/JustArchiNET/ArchiSteamFarm/wiki
After=network.target
[Service]
Environment="DOTNET_CLI_TELEMETRY_OPTOUT=true"
Environment="DOTNET_EnableDiagnostics=0"
Environment="DOTNET_NOLOGO=true"
EnvironmentFile=-/etc/asf/asf
WorkingDirectory=/var/lib/asf
ExecStart=/opt/asf/ArchiSteamFarm --path /var/lib/asf --no-restart --service --system-required
Restart=on-success
RestartSec=1s
RuntimeDirectory=asf
SyslogIdentifier=asf
User=asf
Group=asf
CapabilityBoundingSet=
DevicePolicy=closed
LockPersonality=yes
NoNewPrivileges=yes
PrivateDevices=yes
PrivateIPC=yes
PrivateMounts=yes
PrivateUsers=yes
ProcSubset=pid
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=read-only
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectProc=invisible
ProtectSystem=strict
ReadWritePaths=/var/lib/asf /tmp
RemoveIPC=yes
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SecureBits=noroot-locked
SystemCallArchitectures=native
SystemCallFilter=@system-service mincore
SystemCallFilter=~@privileged
UMask=0077
[Install]
WantedBy=multi-user.target