Monthly Archives: August 2021

Literally nothing…

… made me lose my mind for a bit.

I was creating a Unit file, that just runs a script to email me when one of my test server is online. Script was working fine on its own, Unit was very basic.

I plan on deploying this to production, so I needed a very light, very simple solution.

Script testing went well, Unit testing went well with another small script that just logged stuff, but when I updated the unit to run the actual notification script, the service would not start, with an ExecStart error.

I knew what the error meant, but I also knew there was nothing wrong with the script.

Being my off day and spending time with the family, I decided to just reboot and figure it out later, even though this is usually the last thing I do.

Things went so south after the reboot, that I could not fully boot anymore.

multi-user.target was gone for me and I was stuck in rescue.target.

Anyway, 30 minutes later, I finally figured out what was wrong:

Should have been pretty obvious. The bak file is the original.

Yeah. That bloody new line tripped me over.