Closed cyrillkuettel closed 1 week ago
Caused by https://github.com/rfjakob/earlyoom/commit/f7d6f1cc925962fbdcf57b1c2aeeabbf11e2d542 , please take a look @AndersonTorres
TIL systemd hardcodes its files.
https://github.com/systemd/systemd/issues/19414
https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html
This is a very minor thing, but I thought I'd write it out here in case this helps anybody. When installing earlyoom using
make install
, the systemd unit file is not copied to the correct location, causing the service to fail to enable and start.Steps to Reproduce
Expected Behavior
The installation should complete successfully.
Actual Behavior
The installation fails to enable the service due to the unit file not being found. The error message is:
Solution
To get the service working, I had to manually copy the systemd unit file to the correct location:
After this manual step, running
sudo make install
no longer throws the errorUnit file earlyoom.service does not exist.
System Information