Merge pull request #363 in FS/freeswitch from ~MIGUELO/freeswitch-fs-7130:master to master

* commit 'adb5f0d278bae7ccda1d1807f094876a4671f94d':
  FS-7130 make /run/freeswitch persistent, so it will start under systemd
This commit is contained in:
William King 2015-07-22 11:29:26 -05:00
commit ddf2ac7963
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: