Update freeswitch.service.package
This commit is contained in:
parent
4cc678face
commit
66bc195f44
|
|
@ -14,6 +14,7 @@ Environment="DAEMON_OPTS=-nonat"
|
|||
Environment="USER=www-data"
|
||||
Environment="GROUP=www-data"
|
||||
EnvironmentFile=-/etc/default/freeswitch
|
||||
ExecStartPre=mkdir /var/run/freeswitch
|
||||
ExecStartPre=/bin/chown -R ${USER}:${GROUP} /var/lib/freeswitch /var/log/freeswitch /etc/freeswitch /usr/share/freeswitch /var/run/freeswitch
|
||||
ExecStart=/usr/bin/freeswitch -u ${USER} -g ${GROUP} -ncwait ${DAEMON_OPTS}
|
||||
TimeoutSec=45s
|
||||
|
|
|
|||
Loading…
Reference in New Issue