Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd support #25

Open
jgresty opened this issue Aug 9, 2014 · 1 comment
Open

systemd support #25

jgresty opened this issue Aug 9, 2014 · 1 comment

Comments

@jgresty
Copy link

jgresty commented Aug 9, 2014

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
@mufasa71
Copy link

mufasa71 commented Oct 8, 2014

+1
Also it would be better to add something like code below, to check if mpd is running.

Requires=mpd.service
After=mpd.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants