changed 'stop' to 'stop-start' for openvpn

This commit is contained in:
Petros Angelatos 2013-07-20 10:44:05 +01:00
parent 999a0361a1
commit b62f640a13

View File

@ -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