[Service] ExecStart=/bin/bash script.sh User=root WorkingDirectory=/root Restart=always RestartSec=10 [Install] WantedBy=network-online.target