Call backuptask.js directly as root to avoid trampoline shell scripts

This commit is contained in:
Johannes Zellner
2017-04-17 15:10:29 +02:00
parent 9354784f01
commit ff3a748398
4 changed files with 50 additions and 33 deletions

View File

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