diff options
Diffstat (limited to 'service/mpd')
-rwxr-xr-x | service/mpd | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/service/mpd b/service/mpd deleted file mode 100755 index f55722a..0000000 --- a/service/mpd +++ /dev/null @@ -1,18 +0,0 @@ -#!/home/cynerd/.local/sbin/user-service.sh -# vim: ft=sh - -description="Music player daemon" -pidfile=".config/mpd/pid" - -status() { - [ -f $pidfile ] || return 1 - kill -0 "$(cat $pidfile)" || return 1 -} - -start() { - mpd ~/.config/mpd/mpd.conf -} - -stop() { - mpd --kill ~/.config/mpd/mpd.conf -} |