kopia lustrzana https://gitlab.com/eliggett/wfview
added unit file, thanks to Mick VK3ADD, ref https://gitlab.com/eliggett/wfview/-/issues/96
rodzic
60dbcb6f04
commit
9551f44147
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
|
||||||
|
in order to be able to autostart wfserver, this simple unitfile made by
|
||||||
|
Mick VK3ADD, will help you.
|
||||||
|
|
||||||
|
path and suggested name of the file:
|
||||||
|
|
||||||
|
|
||||||
|
/etc/systemd/system/wfserver.service
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=WF Server
|
||||||
|
After=network.target
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
User=pi
|
||||||
|
ExecStart=/usr/local/bin/wfserver
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Ładowanie…
Reference in New Issue