From 0de199035d751b63327146ac1db923511f54529d Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 4 May 2016 16:52:48 -0400 Subject: mediagoblin: small fixes; db location; permissions; data path --- roles/mediagoblin/tasks/mediagoblin.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/mediagoblin/tasks') diff --git a/roles/mediagoblin/tasks/mediagoblin.yml b/roles/mediagoblin/tasks/mediagoblin.yml index c99b65c..ff092e6 100644 --- a/roles/mediagoblin/tasks/mediagoblin.yml +++ b/roles/mediagoblin/tasks/mediagoblin.yml @@ -30,7 +30,7 @@ - name: Create user data directory file: name={{ mediagoblin_basedir }}/data state=directory - mode=0750 + mode=0755 owner={{ mediagoblin_user }} - name: Create mediagoblin PID directory @@ -102,8 +102,8 @@ - name: Have systemd detect new files shell: systemctl daemon-reload -- name: Start systemd paster service - shell: systemctl start mediagoblin-celeryd.service && systemctl start mediagoblin-paster.service +- name: (Re)start systemd paster service + shell: systemctl restart mediagoblin-celeryd.service && systemctl restart mediagoblin-paster.service - name: Enable systemd services shell: systemctl enable mediagoblin-celeryd.service && systemctl enable mediagoblin-paster.service -- cgit v1.2.3