You are not logged in.
My challenge is to get Deskflow-server to run with a systemctl so Deskflow will restart with each OS restart without user intervention.
My problem is extracting the information that I need from Wiki pages that are a confusing concatenation of Synergy, Barrier, Input Leap, and Deskflow documentation. (Not complaining but rather commenting during, what I am sure is the logical evolution of current documentation transforming into soon to be future corrected Deskflow documentation.)
/etc/systemd/system/deskflow.service
[Unit]
Description=Deskflow Server Daemon
After=network.target
[Service]
ExecStart=/usr/sbin/deskflow-server --no-tray --debug INFO --name wrkstn6 --enable-crypto --address :24800 -c /home/bob/deskflow-server1.conf --tls-cert /home/bob/.config/Deskflow/tls/deskflow.pem
Restart=always
RestartSec=3
[Install]
WantedBy=default.targetHow did I arrive at this, you might ask? I started with https://wiki.archlinux.org/title/Deskflow down the webpage to Section 5.1.2 Autostart as my general layout. The listed systemd unit script was for a client start script. I substituted "deskflow-server" for any client services references which I had found in /usr/sbin/ directory. Then, with Deskflow running via manual (my) user start, ran "systemctl status" and found Deskflow entry "18846 /usr/bin/deskflow-server -f --no-tray --debug INFO --name wrkstn6 --enable-crypto --address :24800 -c /home/bob/deskflow-server1.conf --tls-cert /home/bob/.config/Deskflow/tls/deskflow.pem".
Clearly this string does not work and perhaps it is the result of my own inadequacies. I am very new to Arch Linux but with (now) 25 years of (various distros) general linux use experience.
I have searched and read many articles and forum posts to extract my info. The confusing part is, did I collect this info from a synergy search or an input leap search or . . well, I think you get the idea. Confused by my own searches.
Any suggests would be a big help here? Any ideas?
(Administrators: Kindly relocate to correct forum, if needed.)
Offline
Hi
add option --no-daemon
```
[Unit]
Description=Deskflow Server Daemon
After=network.target
[Service]
ExecStart=/usr/sbin/deskflow-server --no-tray --no-daemon --debug INFO --name %H --enable-crypto --address :24800 -c %h/.config/Deskflow/deskflow-server.conf --tls-cert %h/.config/Deskflow/tls/deskflow.pem
Restart=always
RestartSec=3
[Install]
WantedBy=default.target
```
Offline