mpdcron
mpdcron copied to clipboard
systemd support
It would be nice to have some systemd support. I have a service file for my own use that could work:
[Unit]
Description=mpdcron
[Service]
Environment="MPDCRON_DIR=/var/lib/mpd/mpdcron"
ExecStart=/usr/bin/mpdcron --no-daemon
[Install]
WantedBy=multi-user.target
+1 Also it would be better to add something like code below, to check if mpd is running.
Requires=mpd.service
After=mpd.service