1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-05-24 22:32:58 +03:00

Added s6 init script

This commit is contained in:
lepz0r 2022-11-27 10:06:33 +07:00
parent ec8bad511c
commit e36ea0c052
3 changed files with 5 additions and 0 deletions
init.d/s6/zapret

2
init.d/s6/zapret/down Normal file

@ -0,0 +1,2 @@
#!/bin/execlineb -P
exec /opt/zapret/init.d/sysv/zapret stop

1
init.d/s6/zapret/type Normal file

@ -0,0 +1 @@
oneshot

2
init.d/s6/zapret/up Normal file

@ -0,0 +1,2 @@
#!/bin/execlineb -P
exec /opt/zapret/init.d/sysv/zapret start