From b62f640a1381c60eea14eef0ff30beaca6455e77 Mon Sep 17 00:00:00 2001 From: Petros Angelatos Date: Sat, 20 Jul 2013 10:44:05 +0100 Subject: [PATCH] changed 'stop' to 'stop-start' for openvpn --- app.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app.coffee b/app.coffee index 63c4af4d..bcfc5eab 100644 --- a/app.coffee +++ b/app.coffee @@ -71,6 +71,7 @@ stage1Tasks = [ # superuser tasks (callback) -> async.waterfall(bootstrapTasks, callback) (callback) -> fs.writeFileSync(STATE_FILE, JSON.stringify(state, null, 4)) ; callback() + (callback) -> exec('systemctl stop openvpn@client', callback) (callback) -> exec('systemctl start openvpn@client', callback) (callback) -> exec('systemctl enable openvpn@client', callback) # haki user tasks