Skip to content

Commit

Permalink
add use rand group config
Browse files Browse the repository at this point in the history
  • Loading branch information
snopoke committed Aug 15, 2023
1 parent 6f373d3 commit 28452b5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .ebextensions/01-celery.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
groups:
celery: {}
users:
celery:
groups:
- celery
homeDir: /var/app
shell: /bin/bash
uid: 1500

files:
"/etc/systemd/system/celery.service":
mode: "000644"
Expand All @@ -10,7 +20,7 @@ files:
StartLimitInterval=0

[Service]
Type=simple
Type=forking
Restart=on-failure
RestartSec=10
User=celery
Expand Down

0 comments on commit 28452b5

Please sign in to comment.