Hi! Regarding the service file: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-unit_files
... the /etc/systemd/system/ directory is reserved for unit files created or *customized *by the system administrator. You can copy the service file and edit it. It will have greater priority. This way it survives updates. Kevin Am Di., 7. Aug. 2018 um 08:54 Uhr schrieb Ginhoux, Patrick < [email protected]>: > Hi, > > > > Following a problem with the kamcmd htable.reload with Kamailio 5.0.1 (see > related thread for this), I have upgraded to the 5.0.7 level (with some > difficulties due to my specific environment). > > My server runs the RHEL 7.4 distribution. > > > > Now the upgrade is complete, I notice that that are changes not really > documented: > > > > - The kamailio-perl-5.0.7-1.el7.x86_64.rpm requires to install > the mod_perl module that doesn’t exist anymore in RHEL 7. It needs to be > installed from the EPEL repository > > - The init script for kamailio has been changed from the old > method to the fully compliant method for system unit for RHEL 7 for example: > > > > With the 5.0.1 level we have the “/etc/rc.d/init.d/kamailio” > > With the 5.0.7 level we have now the > “/usr/lib/systemd/system/kamailio.service” > > > > So my questions/comments are : > > > > - Why the mod_perl module is required between 5.0.1 and 5.0.7 > (question posted in the attached message) ? > > - In the previous kamailo init script, I added a condition to > start MySQL before kamailio by adding this entry in the script : # > Required-Start: $syslog $network $mysqld > > The new script contains the After command : > > [Unit] > > Description=Kamailio (OpenSER) - the Open Source SIP Server > > After=network.target > > > > Should I change the After line with this : After=network.target > mysql.target to have the same condition? > > > > In all the cases, some documentation must be changed to provide more > details. > > > > Thanks in advance for the answers. > > > > Cordialement. > > *Patrick GINHOUX* > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
