debmaker/ressources/mealie/rootfs-api/usr/lib/systemd/system/mealie-api.service

17 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