Skip to content

Instantly share code, notes, and snippets.

View claudusd's full-sized avatar
🚨
O(o)ps

Claude Dioudonnat claudusd

🚨
O(o)ps
View GitHub Profile
@claudusd
claudusd / unit
Created May 29, 2017 19:51
Systemd Ceritbot
### https://unix.stackexchange.com/a/334644
### Service SSL Reload .target
[Unit]
Description=Services which need reloaded with SSL certs are updated.
PropagatesReloadTo=apache2
### Service SSL Reload .path

Keybase proof

I hereby claim:

  • I am claudusd on github.
  • I am claudusd (https://keybase.io/claudusd) on keybase.
  • I have a public key whose fingerprint is 20C5 6A9D 0461 2145 7DAE 4ED0 5C7E 786C DD03 67EF

To claim this, I am signing this object:

@claudusd
claudusd / index.js
Created January 4, 2016 14:38 — forked from ecochan/index.js
NodeJS
var server = require("./server");
var router = require("./router");
var requestHandlers = require("./requestHandlers");
var handle = {}
handle["/"] = requestHandlers.start;
handle["/start"] = requestHandlers.start;
handle["/upload"] = requestHandlers.upload;
server.start(router.route , handle);