[Unit] Description=The mirror service Documentation=https://git.server.ky/slackcoder/mirror/ After=network-online.target syslog.target Wants=network-online.target [Service] Type=simple ExecStart=/usr/local/bin/mirror ExecStop=/bin/kill -TERM $MAINPID ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure RestartSec=30 StandardOutput=journal StandardError=inherit SyslogIdentifier=mirror [Install] WantedBy=multi-user.target