Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
node: Socket Activation with systemd
Merged lorenz opened 1 year ago

This implements socket activation for radicle-node by cooperating with systemd. It is an alternative to patch b25bed2, which uses libsystemd to achieve the same goal. Only one of the two patches should be accepted.

A recording of socket activation in action, where execution of rad node status automatically starts the node: https://asciinema.org/a/R7N2N9JPvU8MMQh4LRD2FJQzW.

Note that socket activation is nothing specific to systemd. On OS X, launchd supports the same mechanism with a similar API. The JavaScript library node-socket-activation implements socket activation for both systemd and launchd.

See also:

lorenz opened with revision 648d8d0b on base 064ece32 +122 -13 1 year ago

This implements socket activation for radicle-node by cooperating with systemd. It is an alternative to patch b25bed2, which uses libsystemd to achieve the same goal. Only one of the two patches should be accepted.

A recording of socket activation in action, where execution of rad node status automatically starts the node: https://asciinema.org/a/R7N2N9JPvU8MMQh4LRD2FJQzW.

Note that socket activation is nothing specific to systemd. On OS X, launchd supports the same mechanism with a similar API. The JavaScript library node-socket-activation implements socket activation for both systemd and launchd.

See also:

lorenz pushed revision 2 d4ea40c7 on base 064ece32 +122 -13 1 year ago
lorenz pushed revision 3 0ffaa035 on base 064ece32 +120 -13 1 year ago
lorenz pushed revision 4 8d747090 on base 29764641 +121 -13 1 year ago
lorenz pushed revision 5 9fa593f8 on base 29764641 +121 -13 1 year ago
did:key:z6MksFqX...wzpT pushed revision 6 2c8973db on base 6f8d75a0 +121 -13 1 year ago

Rebase.

did:key:z6MksFqX...wzpT merged revision 2c8973db at 723e2741 1 year ago