更新 Service:GiteaRunner
@@ -46,12 +46,13 @@ nano /etc/init.d/act_runner
|
|||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
name="act_runner"
|
name="act_runner"
|
||||||
|
directory="/root"
|
||||||
|
description="Gitea Actions 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="yes"
|
||||||
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