diff options
Diffstat (limited to 'community/ympd/ympd.initd')
-rw-r--r-- | community/ympd/ympd.initd | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/community/ympd/ympd.initd b/community/ympd/ympd.initd index 48493ef035..dcd6fd6ae9 100644 --- a/community/ympd/ympd.initd +++ b/community/ympd/ympd.initd @@ -1,10 +1,12 @@ #!/sbin/openrc-run +supervisor=supervise-daemon + name=ympd +description="MPD Web GUI" + command=/usr/bin/$name command_args="-u $ympd_user" -command_background=YES -pidfile=$ympd_pid depend() { use logger dns @@ -14,5 +16,5 @@ depend() { start_pre() { checkpath --directory --owner "$ympd_user" \ - --mode 0775 /var/run/"$name" + --mode 0775 /var/run/"$name" } |