From dfff28513622f659430ef064322cfa701513feb0 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 7 Feb 2026 17:47:16 +0000 Subject: Add run-flatbot wrapper script Goal is to keep all URLs in one place (file), because I forget to modify multiple files, when make changes. --- roles/flatbot/files/flatbot.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'roles/flatbot/files/flatbot.service') diff --git a/roles/flatbot/files/flatbot.service b/roles/flatbot/files/flatbot.service index 1dd6028..3b669d7 100644 --- a/roles/flatbot/files/flatbot.service +++ b/roles/flatbot/files/flatbot.service @@ -6,8 +6,7 @@ After=network.target Type=oneshot EnvironmentFile=/etc/flatbot/token EnvironmentFile=/etc/flatbot/config -EnvironmentFile=/etc/flatbot/urls -ExecStart=/usr/bin/flatbot -state ${FLATBOT_STATE} -once ${GREENWICH} ${CLERKENWELL} +ExecStart=/usr/local/bin/run-flatbot ${FLATBOT_STATE} ${FLATBOT_URLS} [Install] WantedBy=default.target -- cgit v1.2.3-70-g09d2