added systemd unit files

This commit is contained in:
june 2025-02-14 23:20:17 +13:00
parent 4525ff3949
commit 24273eff07
No known key found for this signature in database
2 changed files with 17 additions and 0 deletions

9
heathcliff.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Send heathcliff to beneral channel
[Service]
Type=OneShot
# ExecStart=/usr/bin/python3 /home/bread/servers/send_cliff.py
Restart=on-failure
RestartSec=30
ExecStart=/bin/bash /home/bread/servers/cliff/send_cliff2.sh

8
heathcliff.timer Normal file
View File

@ -0,0 +1,8 @@
[Unit]
Description=Send heathcliff daily
[Timer]
OnCalendar=*-*-* 10:00:00
[Install]
WantedBy=timers.target