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: