Source: orthanc Version: 1.5.8+dfsg-2 Severity: normal Dear Maintainer,
Please consider adding a native systemd service masking the already shipped init script (fixes lintian tag[1] in subject). I've attached my own attempt at writing a service file, based off looking at what the init script does. Note that it is completely untested (as I don't use orthanc myself). You should be able to just drop the orthanc.service in the debian/ directory and then debhelper will do the right thing as you're already using compat 10. Additional improvements eg. using security hardening[2] could also be added. Regards, Andreas Henriksson [1]: https://lintian.debian.org/tags/missing-systemd-service-for-init.d-script.html [2]: https://lintian.debian.org/tags/systemd-service-file-missing-hardening-features.html
[Unit] Description=Orthanc - Lightweight, RESTful Vendor Neutral Archive After=network.target Wants=postgresql.service mysql.service [Service] Type=simple Environment=LOGDIR=/var/log/orthanc Environment="DAEMON_ARGS=--logdir=${LOGDIR} /etc/orthanc/" ExecStart=/usr/sbin/Orthanc $DAEMON_ARGS # Note: Signals are async but the ExecReload command should block # until reload finished. #ExecReload=/bin/kill -HUP $MAINPID #ExecReload=/bin/sleep 2 User=orthanc Group=orthanc [Install] WantedBy=multi-user.target