A bit of a documentation update around celery systemd init files

This commit is contained in:
Christopher Allan Webber 2016-07-13 09:11:40 -05:00
parent ee828f42c5
commit 1f23be2d85

View File

@ -69,6 +69,9 @@ modify it to suit your environment's setup:
Group=mediagoblin
Type=simple
WorkingDirectory=/srv/mediagoblin.example.org/mediagoblin
# Start mg-celeryd process as root, then switch to mediagoblin user/group
# (This is needed to run the ExecStartPre commands)
PermissionsStartOnly=true
# Create directory for PID (if needed) and set ownership
ExecStartPre=/bin/mkdir -p /run/mediagoblin
ExecStartPre=/bin/chown -hR mediagoblin:mediagoblin /run/mediagoblin