]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7130 make /run/freeswitch persistent, so it will start under systemd
authorMiguelo <miguelo@tulpsolutions.com>
Wed, 22 Jul 2015 07:36:09 +0000 (09:36 +0200)
committerMiguelo <miguelo@tulpsolutions.com>
Wed, 22 Jul 2015 07:36:09 +0000 (09:36 +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..77dfd69
--- /dev/null
@@ -0,0 +1 @@
+d /run/freeswitch 0755  freeswitch freeswitch -
index d647282ecd154513e147754d5dd8e9ba69a289d8..7a72d039e7d4063ed4d28086b84922eae6ea276f 100644 (file)
@@ -1 +1,3 @@
 /lib/systemd/system/freeswitch.service
+/usr/lib/tmpfiles.d/freeswitch.conf
+
index 67cf9e470c1480c74964edb8ed749b6a8f78c2a5..d1be8edc8898d19e45faf46a8f5b9b95e2904400 100755 (executable)
@@ -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: