mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
FS-7130 make /run/freeswitch persistent, so it will start under systemd
This commit is contained in:
parent
17f8002936
commit
adb5f0d278
1
debian/freeswitch-systemd.freeswitch.conf
vendored
Normal file
1
debian/freeswitch-systemd.freeswitch.conf
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
d /run/freeswitch 0755 freeswitch freeswitch -
|
2
debian/freeswitch-systemd.install
vendored
2
debian/freeswitch-systemd.install
vendored
@ -1 +1,3 @@
|
|||||||
/lib/systemd/system/freeswitch.service
|
/lib/systemd/system/freeswitch.service
|
||||||
|
/usr/lib/tmpfiles.d/freeswitch.conf
|
||||||
|
|
||||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -98,6 +98,10 @@ override_dh_auto_install:
|
|||||||
dh_auto_install
|
dh_auto_install
|
||||||
mkdir -p debian/tmp/lib/systemd/system
|
mkdir -p debian/tmp/lib/systemd/system
|
||||||
install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service
|
install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service
|
||||||
|
|
||||||
|
mkdir -p debian/tmp/usr/lib/tmpfiles.d
|
||||||
|
install -m0644 debian/freeswitch-systemd.freeswitch.conf debian/tmp/usr/lib/tmpfiles.d/freeswitch.conf
|
||||||
|
|
||||||
rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING
|
rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING
|
||||||
|
|
||||||
override_dh_installinit:
|
override_dh_installinit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user