ma events-publisher: bump to latest version

This commit is contained in:
makefu 2018-09-08 22:42:44 +02:00
parent 234f93f594
commit bad9a3d59b
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -2,12 +2,13 @@
with import <stockholm/lib>; with import <stockholm/lib>;
let let
shack-announce = pkgs.callPackage (builtins.fetchTarball { shack-announce = pkgs.callPackage (builtins.fetchTarball {
url = "https://github.com/makefu/events-publisher/archive/4cef900ba10348050208367af6b2035f5a0ef8b6.tar.gz"; url = "https://github.com/makefu/events-publisher/archive/c5218195e6afdc646cb7682d8f355a7ec2b90716.tar.gz";
sha256 = "137vsibr289p3xxlw37xhizi309sygki95919hmj02dxgwmy1k74"; sha256 = "0xk74q7gah3l5zy3bkvih3k9fr1hclvf71rm3ixcmslhicl7khav";
}) {} ; }) {} ;
home = "/var/lib/shackannounce"; home = "/var/lib/shackannounce";
user = "shackannounce"; user = "shackannounce";
creds = (toString <secrets>) + "/shack-announce.json"; creds = (toString <secrets>) + "/shack-announce.json";
LOL = "DEBUG";
in in
{ {
users.users.${user}= { users.users.${user}= {
@ -32,14 +33,14 @@ in
if test ! -e announce.state; then if test ! -e announce.state; then
echo "initializing state" echo "initializing state"
announce-daemon \ announce-daemon \
--lol INFO \ --lol ${LOL} \
--creds creds.json \ --creds creds.json \
--state announce.state \ --state announce.state \
--clean --init --clean --init
fi fi
echo "Running announce" echo "Running announce"
announce-daemon \ announce-daemon \
--lol INFO \ --lol ${LOL} \
--creds creds.json \ --creds creds.json \
--state announce.state --state announce.state
''; '';