Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
behringer
on June 10, 2019
|
parent
|
context
|
favorite
| on:
BeGoneAds – A Python script that blocks ads by ins...
so instead of code in one place you have it in 2?
JustSomeNobody
on June 11, 2019
[–]
I don’t understand this logic. Can you explain why having code in more than one place is a bad thing?
behringer
on June 11, 2019
|
parent
[–]
For a simple script that does one thing, it's overkill.
josteink
on June 11, 2019
|
root
|
parent
[–]
Yes. So you keep that simple script simple, and you let systemd do the heavy lifting.
behringer
on June 11, 2019
|
root
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: