Add completions for linux packages

This commit is contained in:
世界
2024-09-23 22:12:19 +08:00
parent e586d9e9bc
commit 95606191d8
12 changed files with 2202 additions and 79 deletions

View File

@@ -0,0 +1,18 @@
#!/sbin/openrc-run
name=$RC_SVCNAME
description="sing-box service"
supervisor="supervise-daemon"
command="/usr/bin/sing-box"
command_args="-D /var/lib/sing-box -C /etc/sing-box run"
extra_started_commands="reload"
depend() {
after net dns
}
reload() {
ebegin "Reloading $RC_SVCNAME"
$supervisor "$RC_SVCNAME" --signal HUP
eend $?
}