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

17 lines
305 B
SYSTEMD
Raw Normal View History

2022-11-19 19:56:01 +01:00
[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