From: | "Matthias Maier (tamiko)" <tamiko@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/asterisk/files: asterisk.tmpfiles.conf asterisk.service asterisk.service.conf |
Date: | Tue, 30 Dec 2014 21:15:56 |
Message-Id: | 20141230211552.2CE88E848@oystercatcher.gentoo.org |
1 | tamiko 14/12/30 21:15:52 |
2 | |
3 | Added: asterisk.tmpfiles.conf asterisk.service |
4 | asterisk.service.conf |
5 | Log: |
6 | provide systemd service files, bug #529192 |
7 | |
8 | (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key BD3A97A3) |
9 | |
10 | Revision Changes Path |
11 | 1.1 net-misc/asterisk/files/asterisk.tmpfiles.conf |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk/files/asterisk.tmpfiles.conf?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk/files/asterisk.tmpfiles.conf?rev=1.1&content-type=text/plain |
15 | |
16 | Index: asterisk.tmpfiles.conf |
17 | =================================================================== |
18 | d /var/run/asterisk 0750 asterisk asterisk |
19 | d /var/spool/asterisk 0750 asterisk asterisk |
20 | |
21 | |
22 | |
23 | 1.1 net-misc/asterisk/files/asterisk.service |
24 | |
25 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk/files/asterisk.service?rev=1.1&view=markup |
26 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk/files/asterisk.service?rev=1.1&content-type=text/plain |
27 | |
28 | Index: asterisk.service |
29 | =================================================================== |
30 | [Unit] |
31 | Description=Asterisk PBX and telephony daemon. |
32 | After=network.target |
33 | |
34 | [Service] |
35 | Type=simple |
36 | WorkingDirectory=/var/lib/asterisk |
37 | User=asterisk |
38 | Group=asterisk |
39 | ExecStart=/usr/sbin/asterisk -f -C /etc/asterisk/asterisk.conf |
40 | ExecStop=/usr/sbin/asterisk -rx 'core stop now' |
41 | ExecReload=/usr/sbin/asterisk -rx 'core reload' |
42 | |
43 | LimitNOFILE=4096 |
44 | ProtectSystem=full |
45 | ProtectHome=yes |
46 | PrivateTmp=yes |
47 | |
48 | Restart=always |
49 | RestartSec=5 |
50 | |
51 | [Install] |
52 | WantedBy=multi-user.target |
53 | |
54 | |
55 | |
56 | 1.1 net-misc/asterisk/files/asterisk.service.conf |
57 | |
58 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk/files/asterisk.service.conf?rev=1.1&view=markup |
59 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk/files/asterisk.service.conf?rev=1.1&content-type=text/plain |
60 | |
61 | Index: asterisk.service.conf |
62 | =================================================================== |
63 | # Uncomment the following 7 lines to start asterisk with a console on tty7 |
64 | # |
65 | # Warning! Use only for debugging, this is a potential security issue! |
66 | # |
67 | # [Service] |
68 | # ExecStart= |
69 | # ExecStart=/usr/sbin/asterisk -f -c -C /etc/asterisk/asterisk.conf |
70 | # TTYPath=/dev/tty7 |
71 | # StandardInput=tty |
72 | # StandardOutput=tty |
73 | # StandardError=tty |