add retire.sh

this is a sudo script that retires the box
This commit is contained in:
girish@cloudron.io
2016-01-25 17:54:02 -08:00
parent 072962bbc3
commit 8170b490f2
4 changed files with 45 additions and 31 deletions

View File

@@ -30,3 +30,7 @@ yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/backupswap.sh
Defaults!/home/yellowtent/box/src/scripts/collectlogs.sh env_keep="HOME BOX_ENV"
yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/collectlogs.sh
Defaults!/home/yellowtent/box/src/scripts/retire.sh env_keep="HOME BOX_ENV"
yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/retire.sh