move to native systemd. use links , no copy

This commit is contained in:
bolvan
2019-05-11 12:27:01 +03:00
parent cd059aefea
commit 73bf37ee8c
5 changed files with 140 additions and 147 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
After=network-online.target
Wants=network-online.target
[Service]
Type=forking
Restart=no
TimeoutSec=30sec
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/opt/zapret/init.d/sysv/zapret start
ExecStop=/opt/zapret/init.d/sysv/zapret stop
[Install]
WantedBy=multi-user.target