sysv init calls : start-fw,stop-fw

This commit is contained in:
bolvan
2019-05-14 23:14:14 +03:00
parent 3b61dbc20f
commit 087c374959
5 changed files with 66 additions and 42 deletions

View File

@@ -338,6 +338,10 @@ zapret_stop_daemons
Посмотрите init скрипт /opt/zapret/init.d/sysv/zapret и все поймете сами.
Есть вариант вызывать готовый скрипт по каким-то событиям :
/opt/zapret/init.d/sysv/zapret start-fw
/opt/zapret/init.d/sysv/zapret stop-fw
Пример установки на debian-подобную систему
-------------------------------------------