Make sure rsyslog has permissions to write to log dir

This commit is contained in:
Kevin van Zonneveld 2016-10-12 20:50:02 +02:00
parent a1df9e5c17
commit 0c99b7377a
1 changed files with 4 additions and 0 deletions

View File

@ -185,6 +185,10 @@ deploy {
ansistrano_deploy_via = "download_unarchive"
ansistrano_group = "ubuntu"
}
tasks {
file = "path=/srv/tusd/shared/logs state=directory owner=syslog group=ubuntu mode=ug+rwX,o= recurse=yes"
name = "tusd | Create and chown shared log dir"
}
tasks {
name = "tusd | Set file attributes"
file = "path={{{config.global.approot}}}/current/tusd_linux_amd64/tusd mode=0755 owner=www-data group=www-data"