debmaker/ressources/mealie/rootfs-api/usr/lib/systemd/system/mealie-api.service
2022-11-19 19:56:01 +01:00

16 lines
305 B
Desktop File

[Unit]
Description=mealie-api
After=multi-user.target
[Service]
User=mealie-api
Group=mealie-api
EnvironmentFile=/etc/default/mealie-api
ExecStart=/usr/bin/mealie-api
WorkingDirectory=/var/lib/mealie/api
SyslogIdentifier=mealie-api
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target