mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-23 03:10:30 +08:00
nginx delete
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user