reboot a service in linux code example
Example 1: systemd stop service and start
sudo systemctl enable minetest
Example 2: systemd stop service and start
sudo systemctl status minetest
sudo systemctl enable minetest
sudo systemctl status minetest