diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-04 16:52:48 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-04 16:52:48 -0400 |
commit | 0de199035d751b63327146ac1db923511f54529d (patch) | |
tree | cac3d69e6b605c8bed919612952fc2061df2ba50 /roles/mediagoblin/tasks | |
parent | 182c50ccbf5e835a4985dfeea7c4aa7a6a69ac0c (diff) | |
download | infra-0de199035d751b63327146ac1db923511f54529d.tar.gz infra-0de199035d751b63327146ac1db923511f54529d.zip |
mediagoblin: small fixes; db location; permissions; data path
Diffstat (limited to 'roles/mediagoblin/tasks')
-rw-r--r-- | roles/mediagoblin/tasks/mediagoblin.yml | 6 |
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 |