forked from Mirrors/freeswitch
FS-7130 make /run/freeswitch persistent, so it will start under systemd
This commit is contained in:
parent
17f8002936
commit
adb5f0d278
|
@ -0,0 +1 @@
|
|||
d /run/freeswitch 0755 freeswitch freeswitch -
|
|
@ -1 +1,3 @@
|
|||
/lib/systemd/system/freeswitch.service
|
||||
/usr/lib/tmpfiles.d/freeswitch.conf
|
||||
|
||||
|
|
|
@ -98,6 +98,10 @@ override_dh_auto_install:
|
|||
dh_auto_install
|
||||
mkdir -p debian/tmp/lib/systemd/system
|
||||
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
|
||||
|
||||
override_dh_installinit:
|
||||
|
|
Loading…
Reference in New Issue