scripts/start.sh aktualisiert
This commit is contained in:
@@ -131,8 +131,8 @@ chown -R ${UID}:${GID} ${DATA_DIR}
|
||||
|
||||
echo "---Starting...---"
|
||||
term_handler() {
|
||||
echo "---Stopping WireGuard tunnel wg${WG_CONFIG_ID}!---"
|
||||
wg-quick down wg${WG_CONFIG_ID}
|
||||
echo "---Stopping WireGuard tunnel wg${WG_CONFIG_ID}---"
|
||||
wg-quick down wg${WG_CONFIG_ID} > /dev/null 2>&1
|
||||
kill $(pidof sleep)
|
||||
exit 143;
|
||||
}
|
||||
|
Reference in New Issue
Block a user