mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2024-07-22 23:00
This commit is contained in:
24
roles/jitsi/templates/jitsi-excalidraw.service.j2
Normal file
24
roles/jitsi/templates/jitsi-excalidraw.service.j2
Normal file
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=Jitsi Whiteboard backend
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ jitsi_user }}
|
||||
Group={{ jitsi_user }}
|
||||
Environment=PORT=3018
|
||||
Environment=NODE_ENV=production
|
||||
WorkingDirectory={{ jitsi_root_dir }}/excalidraw
|
||||
ExecStart=/bin/npm start
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
NoNewPrivileges=yes
|
||||
SyslogIdentifier=jitsi-excalidraw
|
||||
Restart=on-failure
|
||||
StartLimitInterval=0
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user