Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.