/lib/systemd/system/isso.service is in isso 0.10.6+git20170928+dfsg-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 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | [Unit]
Description=isso commenting system
Documentation=man:isso(8)
# Require the filesystems containing the following directories to be mounted
RequiresMountsFor=/etc/isso.d /var/log/isso /var/lib/isso
ConditionPathIsDirectory=/var/lib/isso
ConditionPathIsReadWrite=/var/lib/isso
ConditionPathIsDirectory=/var/log/isso
ConditionPathIsReadWrite=/var/log/isso
ConditionPathIsDirectory=/etc/isso.d/enabled
ConditionFileIsExecutable=/usr/bin/gunicorn
# Start only if there are conf files in /etc/isso.d/enabled - otherwise
# skip this unit quietly.
ConditionPathExistsGlob=/etc/isso.d/enabled/*.cfg
[Service]
Environment=ISSO_SETTINGS=/etc/isso.d/enabled
ExecStart=/usr/bin/gunicorn -n gunicorn-isso --log-file /var/log/isso/isso.log isso.dispatch
#UMask=0007
Restart=on-failure
TimeoutSec=1
User=isso
LimitNOFILE=16384
LimitNPROC=16384
LimitLOCKS=16384
# ensures that the service process and all its children can never gain new
# privileges.
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|