Add ipmi-temp service and timer
This commit is contained in:
parent
7fdf22b3bd
commit
bf69da8ab1
|
@ -116,7 +116,16 @@ dotfiles:
|
|||
f_20-quiet-printk.conf:
|
||||
src: etc/sysctl.d/20-quiet-printk.conf
|
||||
dst: /etc/sysctl.d/20-quiet-printk.conf
|
||||
f_ipmi-temp.timer:
|
||||
src: etc/systemd/system/ipmi-temp.timer
|
||||
dst: /etc/systemd/system/ipmi-temp.timer
|
||||
f_ipmi-temp.service:
|
||||
src: etc/systemd/system/ipmi-temp.service
|
||||
dst: /etc/systemd/system/ipmi-temp.service
|
||||
profiles:
|
||||
IPMI:
|
||||
dotfiles: f_ipmi-temp.timer
|
||||
f_ipmi-temp.service
|
||||
Locale:
|
||||
dotfiles:
|
||||
- f_locale.conf
|
||||
|
@ -151,6 +160,8 @@ profiles:
|
|||
- f_mkinitcpio.conf
|
||||
- f_vconsole.conf
|
||||
- f_20-quiet-printk.conf
|
||||
- f_ipmi-temp.timer
|
||||
- f_ipmi-temp.service
|
||||
include:
|
||||
- Locale
|
||||
- Pacman
|
||||
|
@ -171,5 +182,6 @@ profiles:
|
|||
include:
|
||||
- Locale
|
||||
- Pacman
|
||||
- IPMI
|
||||
dotfiles:
|
||||
- f_sshd_config
|
||||
|
|
9
root/etc/systemd/system/ipmi-temp.service
Normal file
9
root/etc/systemd/system/ipmi-temp.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Watch server temperature
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/home/balrog/Scripts/ipmi-temp.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
9
root/etc/systemd/system/ipmi-temp.timer
Normal file
9
root/etc/systemd/system/ipmi-temp.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Watches server temperature
|
||||
|
||||
[Timer]
|
||||
OnUnitInactiveSec=5s
|
||||
OnBootSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in a new issue