You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
448 B
22 lines
448 B
5 years ago
|
[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
|