Last active
January 18, 2022 12:54
-
-
Save Eihen/5d1dc05296c3afdb3ce6b772033b3421 to your computer and use it in GitHub Desktop.
Sample systemd unit service for ArchSteamFarm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=ArchSteamFarm | |
After=network-online.target | |
[Service] | |
Type=simple | |
User={user} | |
Group={group} | |
Restart=always | |
RestartSec=15s | |
ExecStart={ASF path} | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instructions
/etc/systemd/system
)systemctl enable asf --now
with root privileges, this way it will be restarted at bootStatus and Output
systemctl status asf
journalctl -u asf -f
journalctl -u asf
Note that all the above commads need to be run with root privileges (root user or sudo).
If you find any problems or need help to make it work let me know.