Commit cd6194b7 authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

move hooks to it's own directory

parent 19ee27b9
......@@ -23,8 +23,9 @@ ADD app /app/code/app
# Somehow postinstall is not run automatically when building docker image
RUN npm run postinstall
ADD server.js /app/code/
RUN chmod +x
ADD hooks /app/code/hooks
ADD server.js /app/code/
RUN chmod +x
## Setting up TUN device
RUN mknod /app/code/net-tun c 10 200
......@@ -34,7 +34,7 @@ mute 20
status /run/openvpn-status.log
# Hooks to update server status
script-security 2
client-connect /app/code/
client-disconnect /app/code/
learn-address /app/code/
client-connect /app/code/hooks/
client-disconnect /app/code/hooks/
learn-address /app/code/hooks/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment