[Unit] Description=Execute Command Service After=network.target Requires=monitor.socket [Service] Type=simple ExecStart={{ homedir }}/monitor.sh StandardInput=socket StandardOutput=socket TimeoutStopSec=5 RuntimeMaxSec=10 [Install] WantedBy=sockets.target