mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
Travis Cross
16d0538fb5
Move chown of /etc/freeswitch/tls to postinst
Doing a chown of something in /etc/ as part of a systemd service file is totally broken. It's far too large a sledgehammer to point at /etc here. Someone may legitimately not be using /etc/freeswitch/tls in his configuration, in which case this chown would fail and cause FS to fail to start. Or someone may legitimately need /etc/freeswitch/tls to have different ownership, in which case we would clobber it here. The right thing to do is to create this directory in the postinst (which we already are, assuming there is not an existing configuration) and then perform the chown of it at the same time. FS-7697
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
267 MiB
Languages
C
64.4%
C++
21.8%
JavaScript
4.7%
Assembly
2%
Makefile
1%
Other
5.4%