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
1 changed files with 4 additions and 0 deletions

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