From 445a974f9789f530791ea7c694ea5bc5a9305f63 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 9 Jul 2022 10:40:36 +0200 Subject: [PATCH] magic mattermost group sync --- services/uffd.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/services/uffd.nix b/services/uffd.nix index 70a6e21..1dba311 100644 --- a/services/uffd.nix +++ b/services/uffd.nix @@ -69,4 +69,16 @@ in { "/static/hot_shit.svg".return = "302 https://infra4future.de/assets/img/icons/hot_shit.svg"; }; }; + + systemd.services.auamost = { + enable = true; + + description = "mattermost aua gruppensync"; + wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ]; + serviceConfig.Type = "simple"; + path = [ pkgs.wget ]; + script = "${pkgs.fish}/bin/fish /persist/magic/mattermost-groupsync.fish"; + startAt = "hourly"; + }; }