Earlyoom runit log problem
Hello,
So i intalled earlyoom and earlyoom runit, i did the link from /etc to /run as usual.
So when i check my service it did run
> [rsm] - ahloi (/etc/runit/runsvdir/default) - 9 services
SERVICE STATE ENABLED PID COMMAND TIME
✔ agetty-tty1 run true 918 login -- ahloi 35 minutes
✔ agetty-tty2 run true 912 agetty 35 minutes
✔ agetty-tty3 run true 902 agetty 35 minutes
✔ dbus run true 911 dbus-daemon 35 minutes
✔ dhcpcd run true 906 dhcpcd: [manager] 35 minutes
✔ earlyoom run true 909 earlyoom 35 minutes
✔ logind run true 910 elogind 35 minutes
✔ ntpd run true 2514 ntpd 8 minutes
✔ udevd run true 903 udevd 35 minutes
The first problem is the log start spamming in tty1 everytime i login via startx, i google and found a thread that just make a log file in the relevant runit service folder, so i did.
Now it doesn't spam the tty but in htop i have this error
888 root 20 0 2564 1292 1292 S 0.0 0.0 0:00.26 runsvdir -P /run/runit/service log: m: fatal: unable to start log/./run: exec format error runsv earlyoom: fatal: unable to start log/./run: e
So can someone help me to solve this.