Skip to content

Commit

Permalink
Set chmod for host-down
Browse files Browse the repository at this point in the history
Set a new chmod for host-down instead of creating two same chmod.
  • Loading branch information
hung3a8 authored Mar 16, 2021
1 parent 7ffd86f commit 6eda93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ cat - <<'EOM' > /etc/tinc/vpn/host-down
logger -p local0.info VPN connection to $NODE $REMOTEADDRESS:$REMOTEPORT is down
EOM
chmod 755 /etc/tinc/vpn/host-up
chmod 755 /etc/tinc/vpn/host-down

# Configure systemd for tinc
systemctl enable tinc@vpn
Expand Down

0 comments on commit 6eda93d

Please sign in to comment.