kakserpom / phpdaemon

Asynchronous server-side framework for network applications implemented in PHP using libevent
http://daemon.io/
GNU Lesser General Public License v3.0
1.53k stars 231 forks source link

Make init scripts runnable #179

Closed TriAnMan closed 10 years ago

TriAnMan commented 10 years ago

It is preferrable to make a correct file mode in the repository instead do it by my own.

Because if I make a symlink for a init script I have to change a file mode every time when the repository is updated.

TriAnMan commented 10 years ago

Maybe the doc should be changed: https://github.com/kakserpom/phpdaemon/wiki/Installation-Ubuntu-13.04 Items 9 and 10. Something like that:

  1. Symlink the Ubuntu init script: sudo ln -s /opt/phpdaemon/init-scripts/phpd.ubuntu /etc/init.d/phpd (remove) 10. Set appropriate permissions in order to be able to run the script: sudo chmod 775 /etc/init.d/phpd