mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2022-01-26 18:00
This commit is contained in:
23
roles/taiga/templates/taiga-events.service.j2
Normal file
23
roles/taiga/templates/taiga-events.service.j2
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Taiga events
|
||||
After=network.target rabbitmq-server.service
|
||||
|
||||
[Service]
|
||||
User={{ taiga_user }}
|
||||
Group={{ taiga_user }}
|
||||
WorkingDirectory={{ taiga_root_dir }}/app/events
|
||||
ExecStart=/bin/npm run start:production
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
NoNewPrivileges=yes
|
||||
MemoryLimit=512M
|
||||
SyslogIdentifier=taiga-events
|
||||
Restart=on-failure
|
||||
StartLimitInterval=0
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user