/lib/systemd/system/apertium-apy.service is in apertium-apy 0.1.0~r61425-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [Unit]
Description=Apertium APY service
Documentation=http://wiki.apertium.org/wiki/Apertium-apy
After=network.target
[Service]
# Change this to your username and edit to how you start apy:
User=apertium
WorkingDirectory=/usr/share/apertium-apy
ExecStart=/usr/bin/python3 servlet.py /usr/share/apertium/modes
# By default, if it restarts >10 times within 5 secs, it marks it as failed and gives up:
Restart=always
# No reason to have access to shared tmp files:
PrivateTmp=yes
[Install]
WantedBy=multi-user.target
|