Update n0xy.net SSL fingerprint automatically with an systemd timer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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