sudo nano /etc/systemd/system/run-service.service
[Unit]
Description=Run Service
After=network.target
[Service]
ExecStart=/bin/bash -c "/path/to/run.sh"
WorkingDirectory=/path/to/working/directory
Restart=always
User= # Replace with the desired username
[Install]
WantedBy=multi-user.target
sudo systemctl enable run-service
sudo systemctl start run-service