Package: iipimage-server
Version: 1.0-1+deb9u1
Severity: wishlist

It would be nice to have systemd support for the iipimage-server
package. I've attached a service file (iipsrv.service) for
/lib/systemd/system/ and an environment file (iipsrv) for /etc/default/
containing runtime parameters for iipsrv.

These allow the iipsrv process to be started independently of a web
server via systemd.

[Install]
WantedBy=multi-user.target

[Unit]
Description=IIPImage server
After=network.target
Documentation=https://iipimage.sourceforge.io man:iipsrv(8)

[Service]
User=www-data
Group=www-data
EnvironmentFile=/etc/default/iipsrv
ExecStart=/usr/lib/iipimage-server/iipsrv.fcgi --bind 0.0.0.0:9000 --backlog 1024
Restart=on-failure

VERBOSITY=1
LOGFILE=/var/log/iipsrv.log
MAX_IMAGE_CACHE_SIZE=10
JPEG_QUALITY=90
MAX_CVT=5000
MEMCACHED_SERVERS=localhost

Reply via email to