Add generic node.sh to run node apps as root and with memory limitations

This commit is contained in:
Johannes Zellner
2017-04-20 15:12:43 +02:00
parent 8ded006dea
commit a94d44da75
3 changed files with 27 additions and 4 deletions

View File

@@ -28,5 +28,5 @@ 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
Defaults!/home/yellowtent/box/src/scripts/node.sh env_keep="HOME BOX_ENV"
yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/node.sh