Add wireguard aliases for homeserver
This commit is contained in:
parent
645710c31d
commit
d14b4ebee9
@ -1,2 +1,5 @@
|
||||
alias wgcms="sudo systemctl restart wg-quick@wg-cms"
|
||||
alias wgcmsD="sudo systemctl stop wg-quick@wg-cms"
|
||||
for interface in cms homeserver
|
||||
do
|
||||
alias wg${interface}="sudo systemctl restart wg-quick@wg-${interface}"
|
||||
alias wg${interface}D="sudo systemctl stop wg-quick@wg-${interface}"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user