Make sure rsyslog has permissions to write to log dir
This commit is contained in:
parent
a1df9e5c17
commit
0c99b7377a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue