aboutsummaryrefslogtreecommitdiff
path: root/service/mpd
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-16 13:52:01 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-16 13:52:01 +0200
commit6d0a15ed36267aadb114515ba6aaa85934374e63 (patch)
tree55a4a341b5e0b75b584e2923502c6784612ce0d8 /service/mpd
parentf6047ecefcf7a05cb79bac73c259b944aac84d26 (diff)
downloadmyconfigs-6d0a15ed36267aadb114515ba6aaa85934374e63.tar.gz
myconfigs-6d0a15ed36267aadb114515ba6aaa85934374e63.tar.bz2
myconfigs-6d0a15ed36267aadb114515ba6aaa85934374e63.zip
Add syncemail service
Diffstat (limited to 'service/mpd')
-rwxr-xr-xservice/mpd5
1 files changed, 0 insertions, 5 deletions
diff --git a/service/mpd b/service/mpd
index 4f0f467..f55722a 100755
--- a/service/mpd
+++ b/service/mpd
@@ -4,11 +4,6 @@
description="Music player daemon"
pidfile=".config/mpd/pid"
-MPD_PID=~/.config/mpd/pid
-if [ ! -e $MPD_PID ] || ! kill -0 $(cat $MPD_PID); then
- mpd ~/.config/mpd/mpd.conf
-fi
-
status() {
[ -f $pidfile ] || return 1
kill -0 "$(cat $pidfile)" || return 1