Skip to content

Instantly share code, notes, and snippets.

@jannis-a
Last active March 29, 2019 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jannis-a/cfc1ea350614ab7bc5036695a25da690 to your computer and use it in GitHub Desktop.
Save jannis-a/cfc1ea350614ab7bc5036695a25da690 to your computer and use it in GitHub Desktop.
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