/etc/init/apertium-apy.conf 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 | description "Apertium APY service"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
setuid "apertium"
setgid "apertium"
env LC_ALL=en_US.utf-8
exec /usr/bin/python3 /usr/share/apertium-apy/servlet.py /usr/share/apertium/modes
respawn
# wait 60 seconds for a graceful restart before killing the master
kill timeout 60
|