backup: use ipc for communicating with upload process

This commit is contained in:
Girish Ramakrishnan
2018-11-26 15:21:48 -08:00
parent e4512e12c5
commit a2da9bea58
4 changed files with 17 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ Defaults!/home/yellowtent/box/src/scripts/configurelogrotate.sh env_keep="HOME B
yellowtent ALL=(root) NOPASSWD: /home/yellowtent/box/src/scripts/configurelogrotate.sh
Defaults!/home/yellowtent/box/src/backupupload.js env_keep="HOME BOX_ENV"
Defaults!/home/yellowtent/box/src/backupupload.js closefrom_override
yellowtent ALL=(root) NOPASSWD:SETENV: /home/yellowtent/box/src/backupupload.js
Defaults!/home/yellowtent/box/src/scripts/restart.sh env_keep="HOME BOX_ENV"