1
0
Quellcode durchsuchen

Provide systemd service definition

Christoph Biedl vor 11 Jahren
Ursprung
Commit
3bb6f70288
2 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  1. 2 0
      debian/pptpd.install
  2. 11 0
      debian/pptpd.service

+ 2 - 0
debian/pptpd.install

@@ -9,3 +9,5 @@ usr/share/man/man5/pptpd.conf.5
 debian/pptpd-options            etc/ppp/
 
 usr/lib/pptpd/pptpd-logwtmp.so
+
+debian/pptpd.service            lib/systemd/system/

+ 11 - 0
debian/pptpd.service

@@ -0,0 +1,11 @@
+[Unit]
+Description=PoPToP Point to Point Tunneling Server
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/default/pptpd
+# don't daemonize to simplify stuff
+ExecStart=/usr/sbin/pptpd --fg $DAEMON_OPTS
+
+[Install]
+WantedBy=multi-user.target