Control: tags 1039145 + patch
Control: tags 1053890 + patch

Dear maintainer,

I've uploaded an NMU for cachefilesd (versioned as 0.10.10-0.8) 
prepared by Nick Rosbrook <[email protected]> to DELAYED/7.
Please feel free to tell me if I should cancel it.

Regards,
Nadzeya
diffstat for cachefilesd-0.10.10 cachefilesd-0.10.10

 .yamllint           |   17 +++++++++++++++++
 cachefilesd.service |   17 +++++++++++++++++
 changelog           |    9 +++++++++
 tests/control       |    3 +++
 tests/systemd       |    9 +++++++++
 5 files changed, 55 insertions(+)

diff -Nru cachefilesd-0.10.10/debian/cachefilesd.service cachefilesd-0.10.10/debian/cachefilesd.service
--- cachefilesd-0.10.10/debian/cachefilesd.service	1970-01-01 01:00:00.000000000 +0100
+++ cachefilesd-0.10.10/debian/cachefilesd.service	2026-09-01 20:23:00.000000000 +0200
@@ -0,0 +1,17 @@
+[Unit]
+Description=CacheFiles daemon
+After=local-fs.target remote-fs.target
[email protected]
[email protected]
+
+[Service]
+Type=simple
+# Disabled by default for compatibility with /etc/default/cachefilesd.
+# Set RUN=yes in a unit override, or in /etc/default/cachefilesd.
+Environment=RUN=no
+EnvironmentFile=-/etc/default/cachefilesd
+ExecCondition=test "$RUN" = "yes"
+ExecStart=/usr/sbin/cachefilesd -s -n $DAEMON_OPTS
+
+[Install]
+WantedBy=multi-user.target
diff -Nru cachefilesd-0.10.10/debian/changelog cachefilesd-0.10.10/debian/changelog
--- cachefilesd-0.10.10/debian/changelog	2026-06-14 23:53:28.000000000 +0200
+++ cachefilesd-0.10.10/debian/changelog	2026-09-01 20:23:00.000000000 +0200
@@ -1,3 +1,12 @@
+cachefilesd (0.10.10-0.8) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/cachefilesd.service: add systemd service
+    (Closes: #1039145, #1053890)
+  * d/tests: add minimal dep8 test for cachefilesd.service
+
+ -- Nick Rosbrook <[email protected]>  Tue, 01 Sep 2026 14:23:00 -0400
+
 cachefilesd (0.10.10-0.7) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cachefilesd-0.10.10/debian/tests/control cachefilesd-0.10.10/debian/tests/control
--- cachefilesd-0.10.10/debian/tests/control	1970-01-01 01:00:00.000000000 +0100
+++ cachefilesd-0.10.10/debian/tests/control	2026-09-01 20:23:00.000000000 +0200
@@ -0,0 +1,3 @@
+Tests: systemd
+Depends: @
+Restrictions: isolation-machine, allow-stderr, needs-root
diff -Nru cachefilesd-0.10.10/debian/tests/systemd cachefilesd-0.10.10/debian/tests/systemd
--- cachefilesd-0.10.10/debian/tests/systemd	1970-01-01 01:00:00.000000000 +0100
+++ cachefilesd-0.10.10/debian/tests/systemd	2026-09-01 20:23:00.000000000 +0200
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -euo pipefail
+set -x
+
+test "$(systemctl show -P ActiveState cachefilesd)" = "inactive"
+
+echo "RUN=yes" >> /etc/default/cachefilesd
+systemctl restart cachefilesd
+test "$(systemctl show -P ActiveState cachefilesd)" = "active"
diff -Nru cachefilesd-0.10.10/debian/.yamllint cachefilesd-0.10.10/debian/.yamllint
--- cachefilesd-0.10.10/debian/.yamllint	1970-01-01 01:00:00.000000000 +0100
+++ cachefilesd-0.10.10/debian/.yamllint	2026-09-01 20:23:00.000000000 +0200
@@ -0,0 +1,17 @@
+---
+extends: default
+
+rules:
+  line-length:
+    level: warning
+    max: 120
+  braces:
+    level: warning
+    max-spaces-inside: 8
+  trailing-spaces:
+    level: warning
+  colons:
+    level: warning
+    max-spaces-after: 16
+  empty-lines:
+    level: warning

Reply via email to