mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-15 11:08:34 +05: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
|