fix source path and improve systemd directivees

This commit is contained in:
2025-12-10 17:08:53 -05:00
parent 614f694fbd
commit c3d7a7725c
3 changed files with 13 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ diyvpn_cfg="${DIYVPN_CFG:-$HOME/.config/diyvpn/servers}"
add() {
local name listen_address idle_timeout hostname port username identityfile
read -rp "Server name [e.g. foobar] [required] : " name
read -rp "Server name [e.g. vps1] [required] : " name
if [[ -d "$diyvpn_cfg/$name" ]]; then
echo "Warning: $diyvpn_cfg/$name already exists. Exising files will be overwritten. [Ctrl+C to quit]"
fi