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

provide init.d script #139

Closed
6arms1leg opened this issue Nov 18, 2012 · 2 comments
Closed

provide init.d script #139

6arms1leg opened this issue Nov 18, 2012 · 2 comments

Comments

@6arms1leg
Copy link
Collaborator

i just realized, that its not only systemd (#135) which needs a script for automated startup. basically, its the same thing with sys-v like systems. we should also provide an init.d script.

how do you start cherrymusic on the testserver so far? using screen? how do you autostart at boot? (you are not using rc.local, are you?) running cherrymusic with root is bad practice.

@devsnd
Copy link
Owner

devsnd commented Nov 18, 2012

Well, actually, since the test-server doesn't ever shut down, we just use screen. The only times when cherrymusic has to be stopped, is when we get the newest features via git. so essentially, I didn't ever have the need for it to start up automatically. But you are right. Any server should be startable using sysv or system-d as a daemon... Gotta look into that.

@devsnd
Copy link
Owner

devsnd commented Nov 26, 2012

I have just uploaded cherrymusicd, which can demonize cherrymusic. We can simply symlink cherrymusicd into /etc/rc.d or wherever the distro specific init scripts are hiding. So this would have to be done for each distibution. As this is not part of cherrymusic, but of the packaging, I will close this issue now. @6arms1leg, maybe you could set up a repo for the PKGBUILD of cherrymusic on arch, so we can take care of that together.

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