add systemd unit file
This commit is contained in:
parent
10f2cdaef3
commit
d65a67fb7f
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Netoïk rest api
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=www-data
|
||||
ExecStart=/usr/netoik-api/bin/server -c /etc/netoik-api/server.conf
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue