Answers for "linux restart service"

1

linux restart service

systemctl restart SERVICE_NAME
Posted by: Guest on June-01-2021
1

systemd stop service and start

sudo systemctl enable minetest
Posted by: Guest on October-09-2020
1

service restart command

You can use sc start [service] to start a service and sc stop [service] to stop it. With some services net start [service] is doing the same.

But if you want to use it in the same batch, be aware that sc stop won't wait for the service to be stopped. In this case you have to use net stop [service] followed by net start [service]. This will be executed synchronously.
Posted by: Guest on March-21-2021
0

systemd stop service and start

sudo systemctl start minetest
Posted by: Guest on October-09-2020
-1

Debian restart service

systemctl restart <name>
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language