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.