]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7130 make /run/freeswitch persistent, so it will start under systemd
authorMiguelo Sana <miguelo@tulpsolutions.com>
Mon, 13 Jul 2015 09:33:46 +0000 (11:33 +0200)
committerMiguelo Sana <miguelo@tulpsolutions.com>
Mon, 13 Jul 2015 09:33:46 +0000 (11:33 +0200)
debian/freeswitch-systemd.freeswitch.conf [new file with mode: 0644]
debian/freeswitch-systemd.install
debian/rules

diff --git a/debian/freeswitch-systemd.freeswitch.conf b/debian/freeswitch-systemd.freeswitch.conf
new file mode 100644 (file)
index 0000000..a94293a
--- /dev/null
@@ -0,0 +1 @@
+d /run/freeswitch 0755  freeswitch freeswitch -
\ No newline at end of file
index d647282ecd154513e147754d5dd8e9ba69a289d8..b554d1b2bd76e13f66b80dde0be9f1f951dc769f 100644 (file)
@@ -1 +1,2 @@
 /lib/systemd/system/freeswitch.service
+/usr/lib/tmpfiles.d/freeswitch.conf
index 67cf9e470c1480c74964edb8ed749b6a8f78c2a5..705dc19f9acd8c9b103561cb95057a6c151ec32d 100755 (executable)
@@ -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: