Hi Jan,I noticed the missing systemd unit and had a go at making a patch for the package so that it provides one.
The behavior of the systemd unit should mirror the behavior of the init script. It creates the relevant directory in /var/run, starts the daemon, and terminates it using the same logic that is already there.
While I don't know too much about zurl - the systemd unit seems to work as well as the init script at least. It manages to start and stop the daemon as expected.
When testing my changes, I also noticed that some files were left in the root of the package directory (conf.log and conf.pri), which caused dpkg-buildpackage to complain, so I took the liberty of adding these to the dh_auto_clean target (feel free to ignore this change).
I attach a debdiff with the changes, generated against the version in unstable.
Best regards, Filip
diff -Nru zurl-1.12.0/debian/rules zurl-1.12.0/debian/rules
--- zurl-1.12.0/debian/rules 2025-06-04 22:00:46.000000000 +0200
+++ zurl-1.12.0/debian/rules 2025-06-04 22:00:46.000000000 +0200
@@ -29,3 +29,7 @@
override_dh_auto_install:
dh_auto_install -- INSTALL_ROOT="$(CURDIR)/debian/zurl"
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f conf.log conf.pri
diff -Nru zurl-1.12.0/debian/zurl.install zurl-1.12.0/debian/zurl.install
--- zurl-1.12.0/debian/zurl.install 2025-06-04 22:00:46.000000000 +0200
+++ zurl-1.12.0/debian/zurl.install 2025-06-04 22:00:46.000000000 +0200
@@ -1 +1,2 @@
debian/zurl.conf /etc/
+debian/zurl.service usr/lib/systemd/system/
diff -Nru zurl-1.12.0/debian/zurl.service zurl-1.12.0/debian/zurl.service
--- zurl-1.12.0/debian/zurl.service 1970-01-01 01:00:00.000000000 +0100
+++ zurl-1.12.0/debian/zurl.service 2025-06-04 22:00:46.000000000 +0200
@@ -0,0 +1,16 @@
+[Unit]
+Description=HTTP client worker with ZeroMQ interface
+Documentation=man:zurl(1)
+After=network.target local-fs.target remote-fs.target
+
+[Service]
+Type=simple
+User=zurl
+Group=zurl
+RuntimeDirectory=zurl
+ExecStart=/usr/bin/zurl --config=/etc/zurl.conf --logfile=/var/log/zurl.log
+KillSignal=SIGTERM
+TimeoutStopSec=30
+
+[Install]
+WantedBy=multi-user.target
OpenPGP_0x16C56181D19233AF.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature

