Allows ASF to run on boot.
Follow these steps to get it working
- Setup ASF according to their guide.
- Set ASF to run in headless mode by adding
headless: true
toASF.json
- Download/Copy the file
asf.service
to/etc/systemd/system/
- Change the path for ArchiSteamFarm to point to your binary, the above expects ASF to be at
/home/pi/asf/ArchiSteamFarm
also changeUser=pi
to the user you want to run asf as - Reload the systemctl daemon to reflect the new service using
sudo systemctl daemon-reload
- Enable the asf service
sudo systemctl enable asf
- Start the service by using
sudo systemctl start asf
Additional Notes
- You can stop the service by using
sudo systemctl stop asf
- You can view logs by using
sudo systemctl status asf
- You should ideally set IPC to true in
asf.config
to be able to control ASF via the web tool