[Unit] Description=Daemon for pasting from (a remote) clipboard over a TCP socket After=graphical-session.target StartLimitBurst=5 [Service] ; %h gets expanded to the current user's home dir ; See https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers ExecStart=%h/.local/bin/sopaste-daemon Type=simple Restart=on-failure RestartSec=5s [Install] WantedBy=default.target