netoik-api/systemd/netoik-api-server.service

13 lines
222 B
SYSTEMD

[Unit]
Description=Netoïk rest api
After=network.target
[Service]
User=netoik-api
Group=netoik-api
ExecStart=/usr/bin/netoik-api-server -c /etc/netoik-api/server.conf
Restart=always
[Install]
WantedBy=multi-user.target