Y
Hacker News
new
|
ask
|
show
|
jobs
by
behringer
2560 days ago
so instead of code in one place you have it in 2?
1 comments
JustSomeNobody
2560 days ago
I don’t understand this logic. Can you explain why having code in more than one place is a bad thing?
link
behringer
2559 days ago
For a simple script that does one thing, it's overkill.
link
josteink
2559 days ago
Yes. So you keep that simple script simple, and you let systemd do the heavy lifting.
link
behringer
2559 days ago
But systemd doesn't do any of the above listed things automatically... You'd need to write an entire script for sytstemd to take advantage of it. An entire script you could just have run with cron on boot.
link