Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
0.5 and holding.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


                 

Please log in.
Before you can vote, you need to register. Please log in or create an account.

Hooktab

Just like Crontab, but for daemonizing scripts, by creating a manager for systemd.
  (+5)
(+5)
  [vote for,
against]

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")

Mindey, Mar 08 2020

[link]






       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.
blissmiss, Mar 09 2020
  

       I think it's about services for demonising violas?
pocmloc, Mar 09 2020
  

       Ahhhh ha. Well hell no. That's not a good idea...Oboes perhaps, but don't touch my Voila.
blissmiss, Mar 09 2020
  

       sp. crontab ?
pertinax, Mar 10 2020
  

       [pertinax], good catch.   

       // 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.   

       [blissmiss],   

       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.
Mindey, Mar 11 2020
  

       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.
wjt, Mar 12 2020
  

       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?
pertinax, Mar 13 2020
  

       // 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.)
Mindey, Mar 13 2020
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle