Skip to content

Instantly share code, notes, and snippets.

@jannis-a
Last active March 29, 2019 09:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Update n0xy.net SSL fingerprint automatically with an systemd timer
[Unit]
Description=Update n0xy.net SSL fingerprint in WeeChat
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'echo "*/set irc.server.n0xy.ssl_fingerprint $(curl -s https://n0xy.net/weechat)" > ~/.weechat/weechat_fifo'
[Unit]
Description=Update n0xy.net SSL fingerprint in WeeChat
[Timer]
OnCalendar=*-*-* 0:00:00
[Install]
Before=weechat.service
WantedBy=timers.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment