diff --git a/Makefile b/Makefile index 026c87e..2e69de1 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,7 @@ install-programs: @$(INSTALL_SCRIPT) webbuild/webbuild-functions $(DESTDIR)$(pck_datadir)/webbuild-functions @$(INSTALL_SCRIPT) webbuild/webbuild-functions-private $(DESTDIR)$(pck_datadir)/webbuild-functions-private @$(INSTALL_SCRIPT) telegram/openmamba_bot.py $(DESTDIR)$(pck_datadir)/openmamba_bot.py + @$(INSTALL_SCRIPT) telegram/requirements.txt $(DESTDIR)$(pck_datadir)/requirements.txt @$(INSTALL_SCRIPT) repology-openmamba.py $(DESTDIR)$(pck_datadir)/repology-openmamba.py @cp -a webbuild/html/* $(DESTDIR)$(htmldir) diff --git a/telegram/openmambabot.service b/telegram/openmambabot.service index 74fc595..0e2c17d 100644 --- a/telegram/openmambabot.service +++ b/telegram/openmambabot.service @@ -4,7 +4,7 @@ After=syslog.target [Service] Type=simple -ExecStart=/usr/bin/python3 /usr/share/autodist/openmamba_bot.py +ExecStart=/var/autodist/env/bin/python3 /usr/share/autodist/openmamba_bot.py [Install] WantedBy=multi-user.target diff --git a/telegram/requirements.txt b/telegram/requirements.txt new file mode 100644 index 0000000..781439c --- /dev/null +++ b/telegram/requirements.txt @@ -0,0 +1 @@ +python-telegram-bot~=13.14 \ No newline at end of file