From: Miguelo Sana Date: Mon, 13 Jul 2015 09:33:46 +0000 (+0200) Subject: FS-7130 make /run/freeswitch persistent, so it will start under systemd X-Git-Tag: v1.6.2~277^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdfb8363f57ce2e32103cc2fc954f2ec8852fdd9;p=thirdparty%2Ffreeswitch.git FS-7130 make /run/freeswitch persistent, so it will start under systemd --- diff --git a/debian/freeswitch-systemd.freeswitch.conf b/debian/freeswitch-systemd.freeswitch.conf new file mode 100644 index 0000000000..a94293afcf --- /dev/null +++ b/debian/freeswitch-systemd.freeswitch.conf @@ -0,0 +1 @@ +d /run/freeswitch 0755 freeswitch freeswitch - \ No newline at end of file diff --git a/debian/freeswitch-systemd.install b/debian/freeswitch-systemd.install index d647282ecd..b554d1b2bd 100644 --- a/debian/freeswitch-systemd.install +++ b/debian/freeswitch-systemd.install @@ -1 +1,2 @@ /lib/systemd/system/freeswitch.service +/usr/lib/tmpfiles.d/freeswitch.conf diff --git a/debian/rules b/debian/rules index 67cf9e470c..705dc19f9a 100755 --- a/debian/rules +++ b/debian/rules @@ -98,6 +98,8 @@ 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/usr/lib/tmpfiles.d/freeswitch.conf rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING override_dh_installinit: