h a l f b a k e r yWe got your practicality ... right here.
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
Hooktab
Just like Crontab, but for daemonizing scripts, by creating a manager for systemd. | |
Hooktab would be a linux command to daemonize scripts, that works like
contab:
You just write "hooktab -e" command, and it lets you edit what you want to
daemonize.
Instead of scheduling directives, you specify IP address and port, and also,
the
regex for path, on which the requests would
be forwarded to your script in
question.
Then, when you exit from editing the script, it automatically configure the
systemd
to serve scripts in question at the endpoints specified.
Voila, daemonizing services simplified, no need to study how how to write
systemd modules.
* (word derived from the widely-used, known "web hooks")
Please log in.
If you're not logged in,
you can see what this page
looks like, but you will
not be able to add anything.
Annotation:
|
|
I really want to bun this or say something witty about it, or at
the very least shout a derogatory remark. But I got nothing.
No idea what this is. Way over my head. |
|
|
I think it's about services for demonising violas? |
|
|
Ahhhh ha. Well hell no. That's not a good idea...Oboes
perhaps, but don't touch my Voila. |
|
|
// I really want to bun this or say something witty about it, or at the very
least shout a derogatory remark. But I got nothing. No idea what this is.
Way over my head. |
|
|
Well, after reading it as if I knew nothing about linux, I'm laughing out
loud.
It must sound like some magic, a con tab, yeah. |
|
|
Nice, One big Daemon to rule all those daemon scripts in training. |
|
|
Hook - an access jump, to include code run , if an interrupt is triggered. |
|
|
It's been a long time since I tried doing anything with a
crontab,
but I remember it being unintuitive, so I'm sympathetic in
principle to wrapping it. |
|
|
However, hooks in general are sometimes associated with
security vulnerabilities. What are your thoughts about the
security of your proposal? |
|
|
// Howevet, hooks in general are sometimes associated with security
vulnerabilities. What are your thoughts about the security of your proposal |
|
|
As a systemd manager, it would not be facing the web. The security would
depend entirely on the script that is daemonized, and on the level of
systemd itself, unless it is opening and closing ports (i.e., tinkering with
firewall settings. However, I do not suggest that hooktab would manage
firewall, so, security-wise it should be fine.) |
|
| |