mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
save-space, make telegram-bots want network-online
This commit is contained in:
@@ -7,7 +7,7 @@ let
|
||||
enable = bot.enable;
|
||||
startAt = bot.time;
|
||||
serviceConfig.Type = "oneshot";
|
||||
wantedBy = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
script = ''
|
||||
${pkgs.curl}/bin/curl -s -X POST "https://api.telegram.org/bot${bot.token}/sendMessage" \
|
||||
-d chat_id="${bot.chatId}" \
|
||||
|
||||
Reference in New Issue
Block a user