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