summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/events-publisher/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-08 22:42:44 +0200
committermakefu <github@syntax-fehler.de>2018-09-08 22:42:44 +0200
commitbad9a3d59b17d0504bfbfcc693c6c2d5ad34516e (patch)
treedec93d4a66bb07d4ae99e4f9c1c0111ddabb561a /makefu/2configs/deployment/events-publisher/default.nix
parent234f93f594907745e935e080c9270c06f142d24d (diff)
ma events-publisher: bump to latest versionprism/makefu
Diffstat (limited to 'makefu/2configs/deployment/events-publisher/default.nix')
-rw-r--r--makefu/2configs/deployment/events-publisher/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/makefu/2configs/deployment/events-publisher/default.nix b/makefu/2configs/deployment/events-publisher/default.nix
index a09554e6a..37d74c282 100644
--- a/makefu/2configs/deployment/events-publisher/default.nix
+++ b/makefu/2configs/deployment/events-publisher/default.nix
@@ -2,12 +2,13 @@
with import <stockholm/lib>;
let
shack-announce = pkgs.callPackage (builtins.fetchTarball {
- url = "https://github.com/makefu/events-publisher/archive/4cef900ba10348050208367af6b2035f5a0ef8b6.tar.gz";
- sha256 = "137vsibr289p3xxlw37xhizi309sygki95919hmj02dxgwmy1k74";
+ url = "https://github.com/makefu/events-publisher/archive/c5218195e6afdc646cb7682d8f355a7ec2b90716.tar.gz";
+ sha256 = "0xk74q7gah3l5zy3bkvih3k9fr1hclvf71rm3ixcmslhicl7khav";
}) {} ;
home = "/var/lib/shackannounce";
user = "shackannounce";
creds = (toString <secrets>) + "/shack-announce.json";
+ LOL = "DEBUG";
in
{
users.users.${user}= {
@@ -32,14 +33,14 @@ in
if test ! -e announce.state; then
echo "initializing state"
announce-daemon \
- --lol INFO \
+ --lol ${LOL} \
--creds creds.json \
--state announce.state \
--clean --init
fi
echo "Running announce"
announce-daemon \
- --lol INFO \
+ --lol ${LOL} \
--creds creds.json \
--state announce.state
'';