[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

