Forgot these

This commit is contained in:
Marko Korhonen 2020-02-17 15:19:53 +02:00
parent ecb3dbb04c
commit c0e5e2a92d
6 changed files with 91 additions and 50 deletions

View file

@ -116,9 +116,21 @@ dotfiles:
f_20-quiet-printk.conf:
src: etc/sysctl.d/20-quiet-printk.conf
dst: /etc/sysctl.d/20-quiet-printk.conf
d_ipmi:
src: etc/systemd/system/ipmi
dst: /etc/systemd/system/ipmi
f_ipmi-static.service:
src: etc/systemd/system/ipmi-static.service
dst: /etc/systemd/system/ipmi-static.service
f_ipmi-temp.service:
src: etc/systemd/system/ipmi-temp.service
dst: /etc/systemd/system/ipmi-temp.service
f_ipmi-temp.timer:
src: etc/systemd/system/ipmi-temp.timer
dst: /etc/systemd/system/ipmi-temp.timer
f_ipmi-fans.service:
src: etc/systemd/system/ipmi-fans.service
dst: /etc/systemd/system/ipmi-fans.service
f_ipmi-fans.timer:
src: etc/systemd/system/ipmi-fans.timer
dst: /etc/systemd/system/ipmi-fans.timer
profiles:
Locale:
dotfiles:
@ -154,7 +166,11 @@ profiles:
- f_mkinitcpio.conf
- f_vconsole.conf
- f_20-quiet-printk.conf
- d_ipmi
- f_ipmi-static.service
- f_ipmi-temp.service
- f_ipmi-temp.timer
- f_ipmi-fans.service
- f_ipmi-fans.timer
include:
- Locale
- Pacman
@ -175,8 +191,6 @@ profiles:
include:
- Locale
- Pacman
- IPMI
dotfiles:
- f_sshd_config
- f_99-sysctl.conf
- d_ipmi

View file

@ -0,0 +1,9 @@
[Unit]
Description=Set fan speed
[Service]
Type=simple
ExecStart=/home/balrog/Scripts/ipmi-static.sh
[Install]
WantedBy=multi-user.target

View 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

View file

@ -0,0 +1,9 @@
[Unit]
Description=Watches server temperature
[Timer]
OnUnitInactiveSec=5s
OnBootSec=5s
[Install]
WantedBy=timers.target