mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
25 lines
456 B
Django/Jinja
25 lines
456 B
Django/Jinja
[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
|
|
|