Add runit_add

This commit is contained in:
Sam A. 2023-02-05 16:37:10 +01:00
parent df19735f4d
commit e34c86f111
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -42,6 +42,10 @@ open() {
fi
}
runit_add() {
sudo ln -s "/etc/runit/sv/$1" /run/runit/service
}
wg() {
(( ${+commands[wg]} )) && (( ${+commands[wg-quick]} )) || return 2