initial import
This commit is contained in:
17
mpd/mpd.initd
Normal file
17
mpd/mpd.initd
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2018 Hyperbola Project
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Music Player Daemon service"
|
||||
|
||||
command="/usr/bin/mpd"
|
||||
command_user="mpd"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net netmount nfsmount alsasound sndiod
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --owner mpd:mpd --mode 0755 /var/run/mpd
|
||||
}
|
||||
Reference in New Issue
Block a user