# create file runner-services.sh
#!/bin/bash
# Your script commands her
/home/username/actions-runner/run.sh
# create file service at /etc/systemd/services/action-runner.service
[Unit]
Description=action-runner
[Service]
ExecStart=/home/username/actions-runner/runner-services.sh
Restart=on-failure
User=username -> adjust with your username
Group=username -> adjust with your username
[Install]
WantedBy=multi-user.target
Discover more from Susiloharjo
Subscribe to get the latest posts sent to your email.