Here is the unit file in question:
``
[Unit]
Description=PeerGuardian Linux an IP Blocker
Documentation=man:pgld(1)
Documentation=file:///usr/share/doc/pgl/README.blocklists
After=network.target syslog.target
After=iptables.service ufw.service
StartLimitIntervalSec=0
[Service]
Type=forking
ExecStart=/usr/bin/pglcmd start
ExecReload=/usr/bin/pglcmd reload
ExecStop=/usr/bin/pglcmd stop
PIDFile=/run/pgld.pid
TimeoutStartSec=0
ReadWriteDirectories=/run /tmp /var/lib/pgl /var/log/pgl /var/spool/pgl
[Install]
WantedBy=multi-user.target
Also=pgl-update.timer
``
On the notebook, the pgl main window opens and I click the start button… On the desktop, the start button is replaced by the stop button, as the app is already running.