mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
22 lines
448 B
Django/Jinja
22 lines
448 B
Django/Jinja
[Unit]
|
|
Description=Openproject worker service
|
|
After=memcached.service postgresql.service postgresql-11.service
|
|
Wants=openproject-wroker.service
|
|
|
|
[Service]
|
|
User=openproject
|
|
Group=openproject
|
|
ExecStart=/usr/bin/openproject run worker
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectHome=yes
|
|
NoNewPrivileges=yes
|
|
MemoryLimit=2048M
|
|
SyslogIdentifier=openproject-worker
|
|
Restart=on-failure
|
|
StartLimitInterval=0
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|