[Pkg-voip-commits] [asterisk] 04/05: systemd.patch: A better way to modify the service
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 e5e3d7ddef9d1cee210b31ef19353c0af76f5349
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Wed Nov 2 09:21:17 2016 +0200
systemd.patch: A better way to modify the service
---
debian/patches/systemd.patch | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/debian/patches/systemd.patch b/debian/patches/systemd.patch
index 181a47f..20d29b9 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,49 @@
+@@ -0,0 +1,48 @@
+[Unit]
+Description=Asterisk PBX
+Documentation=man:asterisk(8)
@@ -96,10 +96,9 @@ Last-Update: 2016-04-02
+WorkingDirectory=__ASTERISK_VARLIB_DIR__
+
+# Extra settings:
-+# If you want to set them, you can generate the file
-+# /etc/systemd/system/asterisk.service that has the following lines
-+# (without the comments)
-+#include /lib/systemd/system/asterisk.service
++# If you want to set them, you can add them to a file in the directory
++# /lib/systemd/system/asterisk.service.d/ with the extension .conf.
++# Example content:
+#[Service]
+#
+# and following those two lines add directives or override existing
--
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