[sr-dev] [kamailio/kamailio] commit 0436af5abd8b73e breaks startup for jsonrpcs module (#2391)

sergey-safarov notifications at github.com
Sun Jul 5 14:29:05 CEST 2020


Also, you can create drop-in and start Kamailio with required user and group
```
[Service]
User=www-data
Group=root
```

Or you can create drop-in and start Kamailio as before under root user and then drop process permission
> On systemd, to change username or group please create drop-in
 /etc/systemd/system/kamailio.service.d/10-user_group.conf file, like
```
[Service]
User=root
Group=root
ExecStart=
ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u kamailio -g kamailio
```
Blank "ExecStart=" to clean `ExecStart` from the main `kamailio.service` unit file.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2391#issuecomment-653882889
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200705/d0cd657f/attachment.html>


More information about the sr-dev mailing list