[Pkg-voip-commits] [asterisk] 05/05: systemd.patch: asterisk supports startup notification
tzafrir at debian.org
tzafrir at debian.org
Wed Nov 2 10:52:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository asterisk.
commit c03f9ff57672e16dcb9da3eb79805b453ac288cf
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Wed Nov 2 09:22:45 2016 +0200
systemd.patch: asterisk supports startup notification
As of 13.12, asterisk supports systemd startup notification.
---
debian/patches/systemd.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/patches/systemd.patch b/debian/patches/systemd.patch
index 20d29b9..124ac6a 100644
--- a/debian/patches/systemd.patch
+++ b/debian/patches/systemd.patch
@@ -81,7 +81,7 @@ Last-Update: 2016-04-02
+fi
--- /dev/null
+++ b/contrib/asterisk.service
-@@ -0,0 +1,48 @@
+@@ -0,0 +1,49 @@
+[Unit]
+Description=Asterisk PBX
+Documentation=man:asterisk(8)
@@ -89,6 +89,7 @@ Last-Update: 2016-04-02
+After=network-online.target
+
+[Service]
++Type=notify
+ExecStart=__ASTERISK_SBIN_DIR__/asterisk -g -f -U asterisk
+ExecReload=__ASTERISK_SBIN_DIR__/asterisk -rx 'core reload'
+Restart=on-failure
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git
More information about the Pkg-voip-commits
mailing list