Skip to content

Conversation

charlesbrandt
Copy link

Just a quick note about starting automatically. Thanks for the template!

@fhd
Copy link
Owner

fhd commented Apr 12, 2014

Sorry, completely missed this and happened upon it by chance!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, thought it was obvious that it needs to be executable. Well wouldn't hurt to mention this, but I think this should be done above, under Script usage, because that part already assumes that the script is executable.

@Pamplemousse
Copy link

Furthermore, on ubuntu 14.04, launching this script at boot cause the creation of pid files beginning with S20. As an exemple :

sudo update-rc.d algorithms defaults

and after reboot, in /var/run/ :

S20algorithms.pid

And this cause the restart and stop of the service failing because the script's function is_running() always return false.
Some ideas of how to handle this ?

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

Successfully merging this pull request may close these issues.

5 participants