added systemd unit files
This commit is contained in:
parent
4525ff3949
commit
24273eff07
9
heathcliff.service
Normal file
9
heathcliff.service
Normal 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
8
heathcliff.timer
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Send heathcliff daily
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 10:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
x
Reference in New Issue
Block a user