Add elwig-backend.service to .deb package

This commit is contained in:
2025-04-30 16:56:35 +02:00
parent 60be49d31d
commit fbb1a62284
8 changed files with 98 additions and 16 deletions

13
pkg/elwig-backend.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Elwig backend
After=network.target
[Service]
RestartSec=5s
Type=simple
User=nobody
ExecStart=/usr/bin/elwig-backend /etc/elwig/backend.ini
Restart=on-failure
[Install]
WantedBy=multi-user.target