summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-11-18 11:02:59 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-11-18 11:02:59 +0300
commitfbc5e4c6f7abb166a5007d2063d82741feecbdeb (patch)
tree86edf56c92ec276bc87613fa4ee8cf0c05bd44d7
parent7bd189503adb5ca31d5a731a65355a86bd27a1ed (diff)
downloadaccel-ppp-fbc5e4c6f7abb166a5007d2063d82741feecbdeb.tar.gz
accel-ppp-fbc5e4c6f7abb166a5007d2063d82741feecbdeb.zip
contrib: added accel-ppp.service for systemd
-rw-r--r--contrib/debian/accel-ppp.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/debian/accel-ppp.service b/contrib/debian/accel-ppp.service
new file mode 100644
index 0000000..f25a66d
--- /dev/null
+++ b/contrib/debian/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
+