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
Run as a service on UNIX machine #159
Comments
Would that involve running Sonic as root, or is it something else I'm unaware of? |
Don't think you need to run Sonic as root. The purpose is to write a service file to handle the start/restart/stop of Sonic as well as its configuration, in a similar way you can enable Redis as a service. I am not an expert myself in Unix so not sure if what I am saying right now is a kind of idiocy, but as I am trying to use this software together with Laravel, that would be very handy. |
Here you go, this is the systemd service we use at Crisp to run Sonic (under user |
Is strange, I added the service file as you post it to my local machine. However sonic is not recognized as a service. Being the content of the file similar to yours, I added it to the system folder (under the path Sorry to reopen this issue, btw. |
Fix it, had to adjust some configuration from systemd on the server. Thank you. |
Yes, in that case you need to reload systemd and then enable the service. And finish by starting the service. |
(that's standard procedure for any systemd service) |
Is it possible to run Sonic as system service? In that case, would I be able to append the logs to a
ReadWriteFolder
instead of the console?The text was updated successfully, but these errors were encountered: