更新 Service:GiteaRunner
@@ -45,12 +45,13 @@ nano /etc/init.d/act_runner
|
|||||||
```ini
|
```ini
|
||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
name="Gitea Actions runner"
|
name="act_runner"
|
||||||
command="/usr/local/bin/act_runner"
|
command="/usr/local/bin/act_runner"
|
||||||
command_args="daemon"
|
command_args="daemon"
|
||||||
command_user="root"
|
command_user="root"
|
||||||
command_background=true
|
command_background="true"
|
||||||
pidfile="/run/${name}.pid"
|
pidfile="/run/${name}.pid"
|
||||||
|
description="Gitea Actions runner"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
|
|||||||
Reference in New Issue
Block a user