Update docs/dev/hosting.md

This commit is contained in:
Jordan Bancino 2024-01-14 14:13:53 -05:00
parent fde2b26857
commit dede82ad33
1 changed files with 15 additions and 1 deletions

View File

@ -77,4 +77,18 @@ User=runner
Then just `systemctl enable act_runner` and `systemctl start act_runner`.
#### Other
Eventually I got sick of writing init scripts for all the various operating systems.
Just put this in `runner`'s `crontab`:
@reboot cd /home/runner/act_runner && ./act_runner daemon
That seems to do the job good enough, and it's cross platform.