[Unit] After=syslog.target network-online.target Wants=wg-quick.target ConditionPathIsDirectory=/etc/wireguard [Service] Type=forking PIDFile=/gunicorn.pid WorkingDirectory= ExecStart=/wgd.sh start ExecStop=/wgd.sh stop ExecReload=/wgd.sh restart TimeoutSec=120 PrivateTmp=yes Restart=always [Install] WantedBy=multi-user.target