[Unit] Description=The IP Proxy Server After=network.target remote-fs.target nss-lookup.target [Service] Type=forking PIDFile=/opt/run/stream.pid # stream will fail to start if /run/stream.pid already exists but has the wrong # SELinux context. This might happen when running `stream -t` from the cmdline. # https://bugzilla.redhat.com/show_bug.cgi?id=1268621 ExecStartPre=/usr/bin/rm -f /opt/run/stream.pid ExecStartPre=/opt/stream/stream -t ExecStart=/opt/stream/stream ExecReload=/bin/kill -s HUP $MAINPID KillMode=process KillSignal=SIGQUIT TimeoutStopSec=5 PrivateTmp=true [Install] WantedBy=multi-user.target