mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
18 lines
311 B
SYSTEMD
18 lines
311 B
SYSTEMD
|
[Unit]
|
||
|
After=network-online.target
|
||
|
Wants=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
Restart=no
|
||
|
TimeoutSec=30sec
|
||
|
IgnoreSIGPIPE=no
|
||
|
KillMode=none
|
||
|
GuessMainPID=no
|
||
|
RemainAfterExit=no
|
||
|
ExecStart=/opt/zapret/init.d/sysv/zapret start
|
||
|
ExecStop=/opt/zapret/init.d/sysv/zapret stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|