Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

I hate writing systemd .service files.

I'm always confused with the Type (should it be simple? forking?) and my program ends-up starting but not stopping or things like that.

I know I lack the knowledge to write a good .service file in one go, as I write one every other month at best and forget all the details in between. It would be the same with a traditional init scripts. However, with init scripts, the way to debug is obvious: just add a '-x' somewhere and here we go, you have a detailed execution. I don't know the equivalent with systemd and I end-up bashing my head against the wall trying everything blindly.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: