nginx delete

This commit is contained in:
jysperm
2014-07-05 21:28:16 +08:00
parent ccc7a6e441
commit e0050e88e7

View File

@@ -15,7 +15,8 @@ module.exports =
callback()
delete: (account, callback) ->
callback()
child_process.exec "sudo rm /etc/nginx/sites-enabled/#{account.username}.conf", ->
callback()
writeConfig: (account, callback) ->
mAccount.findId account._id, (err, account) ->