You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: