Adding better syslog
This commit is contained in:
9
roles/Sharingan-Data/files/sharingan-heartbeat.service
Normal file
9
roles/Sharingan-Data/files/sharingan-heartbeat.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=AniNIX/Sharingan | Heartbeat service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/systemctl is-system-running
|
||||
Type=oneshot
|
||||
RemainAfterExit=no
|
||||
User=root
|
||||
Group=root
|
11
roles/Sharingan-Data/files/sharingan-heartbeat.timer
Normal file
11
roles/Sharingan-Data/files/sharingan-heartbeat.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=AniNIX/Sharingan | Heartbeat timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* *:00/5:00
|
||||
AccuracySec=12h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
Reference in New Issue
Block a user