zsh/.aliases/command-specific/wg

6 lines
188 B
Plaintext
Raw Permalink Normal View History

2023-05-03 22:30:30 -04:00
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