Move the service to the system directory
sudo mv ~/pi-system-service/service_name.service /etc/systemd/system/service_name.service
Reload the systemctl daemon
sudo systemctl daemon-reload
Enable the service
sudo systemctl enable service_name.service
Start the service
sudo systemctl start service_name.service
Service status
sudo systemctl status service_name.service
Service restart
sudo systemctl restart dht11.service
Stop the service
sudo systemctl stop dht11.service
Remove the service
sudo rm /etc/systemd/system/dht11.service