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

Wrote the init-script for debian (wheezy) #121

Open
SneipasOmoH opened this issue Jul 29, 2015 · 0 comments
Open

Wrote the init-script for debian (wheezy) #121

SneipasOmoH opened this issue Jul 29, 2015 · 0 comments

Comments

@SneipasOmoH
Copy link

Hello ctron,
i wrote the init-script to manage the launch of the drone on systemstart and manage it after. It's written for wheezy and is testet on my debian-server. I took the base from debians init.d/skeleton for it. One issue i have, is the missing (or for me unknown) returncode to detect the successfull or failed start of the drone-service and react appropriate, so i choose the poor (and actually unwanted) sleep 10 seconds-method in the script to wait for the service. In my tests the script worked fine, the start after rebooting the server, the "start | stop | restart | status" - thing also works well. In my system i made some adjustments to the original drone-installation. I set the owner and the group-settings below /usr/lib//usr/lib/package-drone-server to pdrone:pdrone, renamed the executable from "server" into "pgdrone", the skript itself starts the drone-service as pdrone:pdrone. In my tests i experienced no problems with this configuration, but if this is a problem however, it should be easy to suite the init-script. I don't tink, the script is the last state of the art of progamming an init-script, but it's a base to start from. So want contribute it to the project, where can i upload it or send to?
Greetings,
Michael

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

1 participant