FS-7130 make /run/freeswitch persistent, so it will start under systemd

This commit is contained in:
Miguelo 2015-07-22 09:36:09 +02:00
parent 17f8002936
commit adb5f0d278
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
d /run/freeswitch 0755 freeswitch freeswitch -

View File

@ -1 +1,3 @@
/lib/systemd/system/freeswitch.service
/usr/lib/tmpfiles.d/freeswitch.conf

4
debian/rules vendored
View File

@ -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: