From c2aa18d1e2ded234d0daeb4d03fde8c81f59c891 Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Thu, 15 Aug 2024 15:01:07 +0200 Subject: [PATCH] fix systemd apy paths --- tools/systemd/apy.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/systemd/apy.service b/tools/systemd/apy.service index 34ec89a41..5c9f017ee 100644 --- a/tools/systemd/apy.service +++ b/tools/systemd/apy.service @@ -7,7 +7,8 @@ After=network.target # Change this to your username and edit to how you start apy: User=apertium WorkingDirectory=/usr/share/apertium-apy -ExecStart=/usr/bin/python3 apy.py /usr/share/apertium/modes +ExecStart=/usr/bin/python3 /usr/lib/python3/dist-packages/apertium_apy/apy.py --fasttext-model lid.beta.ftz --lang-names langNames.db /usr/share/apertium/modes + # Increase the ulimit -n from the default 1024 – you may get the error # "Too many open files" with a lot of pipelines open.