Restart policy for systemd service Edit the systemd service file [Service] Type=simple Restart=always RestartSec=3 Reload the deamon systemctl daemon-reload Restart the service systemctl restart test