Last active
March 29, 2019 09:37
-
-
Save jannis-a/cfc1ea350614ab7bc5036695a25da690 to your computer and use it in GitHub Desktop.
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