Skip to content

Instantly share code, notes, and snippets.

Tim Arnold tiarno

Block or report user

Report or block tiarno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
drmalex07 /
Last active Nov 21, 2019
An example inetd-like socket-activated service. #systemd #inetd #systemd.socket


This is an example of a socket-activated per-connection service (which is usually referred to as inetd-like service). A thorough explanation can be found at

Define a socket unit

The key point here is to specify Accept=yes, which will make the socket accept connections (behaving like inetd) and pass only the resulting connection socket to the service handler.

mpg / enable-local-fonts
Created Aug 6, 2010
Enable fonts from texmf-local using updmap-sys --enable Map
View enable-local-fonts
# Enable fonts from texmf-local using updmap-sys --enable Map
# Manuel Pégourié-Gonnard, 2010; WTFPL v2.
find -H `kpsewhich --var-value TEXMFLOCAL` -name '*.map' | while read file
updmap-sys --nohash --nomkmap --enable Map `basename $file`
You can’t perform that action at this time.