summaryrefslogtreecommitdiff
path: root/contrib/accel-ppp.service
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-12-15 14:10:53 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-12-15 14:10:53 +0300
commitefd1a045ded13cc50e20f0125118139a36df6ff2 (patch)
treee4aec74586bc37ccd195737013ed1666a180bc72 /contrib/accel-ppp.service
parentd423bcad1a9f321c38c707232a625de856b04bc4 (diff)
downloadaccel-ppp-efd1a045ded13cc50e20f0125118139a36df6ff2.tar.gz
accel-ppp-efd1a045ded13cc50e20f0125118139a36df6ff2.zip
cmake: added centos support
Diffstat (limited to 'contrib/accel-ppp.service')
-rw-r--r--contrib/accel-ppp.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/accel-ppp.service b/contrib/accel-ppp.service
new file mode 100644
index 00000000..f25a66d5
--- /dev/null
+++ b/contrib/accel-ppp.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Accel-PPP
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/accel-pppd -d -p /var/run/accel-pppd.pid -c /etc/accel-ppp.conf
+StandardOutput=null
+ExecReload=/bin/kill -SIGUSR1 $MAINPID
+PIDFile=/var/run/accel-pppd.pid
+Type=forking
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+Alias=accel-ppp.service
+