Added runit service

This commit is contained in:
lepz0r 2022-11-27 10:58:31 +07:00
parent e36ea0c052
commit cf8d162213
2 changed files with 5 additions and 0 deletions

2
init.d/runit/zapret/finish Executable file
View File

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

3
init.d/runit/zapret/run Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/opt/zapret/init.d/sysv/zapret start
exec chpst -b zapret pause