Restart wfview remotely

I was trying to ssh into my laptop at the ham shack and just use ‘screen’ to restart the wfview server like this:

ssh shack-laptop.lan
screen -dm wfview

Is there more to just ssh-ing into laptop and run that command?
screen -list showed the screen session but i dont think that wfview was actually running. (couldnt reconnect with the wfview client)

dan
W6DKW

you can use and/or modify this simple service file

[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

i dont seem to have a wfserver executable at that location. only wfview

wfserver needs to be manually built (and configured) it isn’t a trivial task which is why we haven’t published any instructions or manual for it yet.

ah. i see. well, i have built binaries from source code before. but it can get tricky with dependencies, the right libraries, and then compiler directives. etc.

Use, and/or modify I was writing…