This patchset contains fixes/enhancements for the following issues:
* The init-script doesn't use pid-file properly which causes troubles in case then several opensips are running on the same machine.
* No sample /etc/sysconfig file provided.
* No required systemd files are provided.
These changes are harmless for the rest of the codebase.
Fix for pidfile in the init-script
Added sysconfig-file
Added systemd-related stuff
Hello Peter,
I pushed the patches into the trunk. Please test and let me know if everything is ok and then I will backport to 1.8.
I wasn't sure if "opensips.tmpfiles.conf" is required or is a temporary file and therefore I didn't push that one. Please check and let me know.
Regards,
Ovidiu Sas
Hello Ovidiu.
Regarding "opensips.tmpfiles.conf" - that's a requirement for systemd in case then your /var/run resides in tmpfs. It contains a list of directories which should be created before normal operation. In fact it isn't required for everyone but I think it should be included as well since most of recent distributions will have both systemd and /var/run mounted as tmpfs.
You have all files pushed into trunk. Please test and let me know if it's ok to backport to 1.8.
Hello Ovidiu.
Yes, all things looks ok so I believe it's safe to backport to 1.8.x In fact I'm already using these changes with latest 1.8.0 release.
Please test and close the bug report.
Regards,
Ovidiu Sas
Ok, everything looks as expected, so I'm closing this.