1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

catullus: fix deploy

This commit is contained in:
Kierán Meinhardt
2019-04-13 23:26:01 +02:00
parent 2426b24b56
commit c0cee07a0d
2 changed files with 22 additions and 22 deletions

View File

@@ -23,15 +23,15 @@ in {
script = ''${telegram-betacode}/bin/telegram-betacode'';
serviceConfig.Restart = "always";
};
systemd.services.telegram-horoscope = {
wantedBy = [ "multi-user.target" ];
description = "Telegram bot for generating horoscope charts";
environment.TELEGRAM_HOROSCOPE_TOKEN = builtins.readFile <secrets/telegram-horoscope.token>;
environment.GOOGLE_MAPS_API_KEY = builtins.readFile <secrets/google-maps.api-key>;
enable = true;
script = ''${telegram-horoscope}/bin/telegram-horoscope'';
serviceConfig.Restart = "always";
};
# systemd.services.telegram-horoscope = {
# wantedBy = [ "multi-user.target" ];
# description = "Telegram bot for generating horoscope charts";
# environment.TELEGRAM_HOROSCOPE_TOKEN = builtins.readFile <secrets/telegram-horoscope.token>;
# environment.GOOGLE_MAPS_API_KEY = builtins.readFile <secrets/google-maps.api-key>;
# enable = true;
# script = ''${telegram-horoscope}/bin/telegram-horoscope'';
# serviceConfig.Restart = "always";
# };
};
};
}