collect logs using a sudo script

docker logs can only be read by root
This commit is contained in:
Girish Ramakrishnan
2015-08-08 19:04:56 -07:00
parent 8cd13bd43f
commit c4c463cbc2
4 changed files with 51 additions and 38 deletions

View File

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