This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# /etc/systemd/system/runner.service
|
||||
[Unit]
|
||||
Description=Zilant Bot Runner - Executes scheduled scripts
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
WorkingDirectory=/opt/testbot-git
|
||||
ExecStart=/bin/bash /opt/testbot-git/runner.sh
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user