mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
FS-7130 make /run/freeswitch persistent, so it will start under systemd
This commit is contained in:
parent
a54e04df00
commit
bdfb8363f5
1
debian/freeswitch-systemd.freeswitch.conf
vendored
Normal file
1
debian/freeswitch-systemd.freeswitch.conf
vendored
Normal file
@ -0,0 +1 @@
|
||||
d /run/freeswitch 0755 freeswitch freeswitch -
|
1
debian/freeswitch-systemd.install
vendored
1
debian/freeswitch-systemd.install
vendored
@ -1 +1,2 @@
|
||||
/lib/systemd/system/freeswitch.service
|
||||
/usr/lib/tmpfiles.d/freeswitch.conf
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user