From a1df9e5c176db1239e1e371519647319d1f4d25d Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Wed, 12 Oct 2016 20:49:50 +0200 Subject: [PATCH 1/2] Upgrade Frey --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a654832..3d9b55b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -FREY_VERSION := 0.3.23 +FREY_VERSION := 0.3.25 .PHONY: frey frey: From 0c99b7377af36e154bda8567676ef2c8a3ed604c Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Wed, 12 Oct 2016 20:50:02 +0200 Subject: [PATCH 2/2] Make sure rsyslog has permissions to write to log dir --- .infra/Freyfile.hcl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.infra/Freyfile.hcl b/.infra/Freyfile.hcl index 3ce3cba..e084037 100644 --- a/.infra/Freyfile.hcl +++ b/.infra/Freyfile.hcl @@ -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"