blob: 0544519ac3d0226bc10b5ba3ed133226400c92bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
; Original Author: Travis Cross <tc@traviscross.com>
; Adapted for AUR/Arch by Brent Saner <brent (dot) saner (at) gmail (dot) com>
; fetched from https://raw.github.com/FreeSWITCH/FreeSWITCH/8099af65647d01dc5e2d65a50626a4299fc7d70c/debian/freeswitch-systemd.freeswitch.service
[Unit]
Description=freeswitch
After=syslog.target network.target local-fs.target
[Service]
; service
Type=forking
PIDFile=/run/freeswitch/freeswitch.pid
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /run/freeswitch
ExecStartPre=/bin/chown freeswitch:freeswitch /run/freeswitch
ExecStart=/usr/bin/freeswitch -nc -nonat
TimeoutSec=45s
Restart=always
; exec
User=freeswitch
Group=freeswitch
UMask=0007
[Install]
WantedBy=multi-user.target
|