Ajout : mini-scripts pour complémenter runit
This commit is contained in:
parent
9eb255f504
commit
be7e6657d1
3 changed files with 11 additions and 0 deletions
3
bin/svadd
Executable file
3
bin/svadd
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
cd /run/runit/service || exit
|
||||
exec ln -s /etc/runit/sv/"$1" .
|
3
bin/svdel
Executable file
3
bin/svdel
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
cd /run/runit/service || exit
|
||||
exec unlink "$1"
|
5
bin/svls
Executable file
5
bin/svls
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
cd /run/runit/service || exit
|
||||
for service in *; do
|
||||
sv status "$service"
|
||||
done
|
Loading…
Reference in a new issue