File: 0002-Add-doc-key-to-btrfsmaintenance-refresh.service.patch

package info (click to toggle)
btrfsmaintenance 0.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 344 kB
  • sloc: sh: 908; python: 50; makefile: 18
file content (26 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download
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
From: Nicholas D Steeves <nsteeves@gmail.com>
Date: Tue, 11 Aug 2020 23:02:48 -0400
Subject: Add doc key to btrfsmaintenance-refresh.service

Last-Update: 2021-11-29
Bug: https://github.com/kdave/btrfsmaintenance/issues/83
Forwarded: https://github.com/kdave/btrfsmaintenance/pull/92

This enables correct functioning of `systemctl help servicename`,
which should display the documentation associated with the service.
---
 btrfsmaintenance-refresh.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service
index 4ed1eb4..e82a855 100644
--- a/btrfsmaintenance-refresh.service
+++ b/btrfsmaintenance-refresh.service
@@ -1,5 +1,6 @@
 [Unit]
-Description=Update cron periods from /etc/sysconfig/btrfsmaintenance
+Description=Update cron periods from /etc/default/btrfsmaintenance
+Documentation=man:btrfsmaintenance(8)
 
 [Service]
 ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer