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
Logagent-setup fails to create init.d script #64
Comments
Right, there is currently no support for init.d - only upstart, systemd and launchd (Mac OS X). |
@ashiddo11 could you contribute a function for the init.d script generation? |
I wonder why systemd file is created. So systemctl is installed, but systemd is not used to start services? https://github.com/sematext/logagent-js/blob/master/bin/logagent-setup.sh#L154 |
Did you run the setup as super user? It needs root permissions. |
Yes I ran it as root.
I'll create a function for the init.d script and create a PR when I get a chance |
Create init.d script to support debian wheezy
Created PR #66 |
Re Issue #64 Logagent-setup fails to create init.d script
logagent-setup script should create an init.d script but it doesn't when using debian weezy. Currently it tries to create a systemd file and then fails to start the service.
The text was updated successfully, but these errors were encountered: