Commit 7bd128e7135f6467e83f57a929a19f5ab3329844
1 parent
1ad85a23
Exists in
master
and in
17 other branches
Fix celerybeat service permissions to create dir
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Paulo Tada <paulohtfs@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
misc/lib/systemd/system/celerybeat.service
... | ... | @@ -4,6 +4,7 @@ PartOf=colab.service |
4 | 4 | |
5 | 5 | [Service] |
6 | 6 | User=colab |
7 | +PermissionsStartOnly=true | |
7 | 8 | ExecStartPre=/usr/bin/install -d -m 0700 -o colab /var/run/colab |
8 | 9 | ExecStart=/usr/lib/colab/bin/colab-admin celery beat --pidfile=/var/run/colab/celerybeat.pid --schedule=/var/lib/colab/celery/celereybeat-schedule |
9 | 10 | Restart=on-failure | ... | ... |