From dede82ad330c972b1c80ef184248089f1e4e54e1 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Sun, 14 Jan 2024 14:13:53 -0500 Subject: [PATCH] Update docs/dev/hosting.md --- docs/dev/hosting.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/dev/hosting.md b/docs/dev/hosting.md index 75d933d..6d729a1 100644 --- a/docs/dev/hosting.md +++ b/docs/dev/hosting.md @@ -77,4 +77,18 @@ User=runner [Install] WantedBy=multi-user.target -``` \ No newline at end of file +``` + +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. \ No newline at end of file