aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mediagoblin/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mediagoblin/tasks')
-rw-r--r--roles/mediagoblin/tasks/mediagoblin.yml6
1 files changed, 3 insertions, 3 deletions
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