Skip to content

Commit

Permalink
fix systemd apy paths
Browse files Browse the repository at this point in the history
  • Loading branch information
unhammer committed Aug 15, 2024
1 parent 715a000 commit c2aa18d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/systemd/apy.service
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c2aa18d

Please sign in to comment.