Add route to restore box from backup

Part of #439
This commit is contained in:
Girish Ramakrishnan
2017-11-22 11:16:44 -08:00
parent 0f191324fa
commit ac94a0b7f2
5 changed files with 90 additions and 4 deletions

View File

@@ -34,3 +34,6 @@ yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/configurelogrot
Defaults!/home/yellowtent/box/src/backuptask.js env_keep="HOME BOX_ENV"
yellowtent ALL=(root) NOPASSWD:SETENV: /home/yellowtent/box/src/backuptask.js
Defaults!/home/yellowtent/box/src/scripts/restart.sh env_keep="HOME BOX_ENV"
yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/restart.sh