diff --git a/systemd/README b/systemd/README new file mode 100644 index 0000000..0bb5f87 --- /dev/null +++ b/systemd/README @@ -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 + + diff --git a/systemd/wfserver.service b/systemd/wfserver.service new file mode 100644 index 0000000..4b42119 --- /dev/null +++ b/systemd/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