summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/systemd/systemd-complex-service-file/build-spec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/systemd/systemd-complex-service-file/build-spec
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/systemd/systemd-complex-service-file/build-spec')
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/install6
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test.service9
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test2.service4
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test3.service6
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test4.service8
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test5.service11
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test@.service5
-rw-r--r--t/recipes/checks/systemd/systemd-complex-service-file/build-spec/fill-values4
8 files changed, 53 insertions, 0 deletions
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/install b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/install
new file mode 100644
index 0000000..41c700e
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/install
@@ -0,0 +1,6 @@
+debian/test.service usr/lib/systemd/system/
+debian/test2.service usr/lib/systemd/system/
+debian/test3.service usr/lib/systemd/system/
+debian/test4.service usr/lib/systemd/system/
+debian/test5.service usr/lib/systemd/system/
+debian/test@.service usr/lib/systemd/system/
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test.service b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test.service
new file mode 100644
index 0000000..60f401a
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test.service
@@ -0,0 +1,9 @@
+[Unit]
+After=dbus.target
+Documentation=https://www.freedesktop.org/wiki/Software/dbus/
+
+[Service]
+ExecStart=/usr/bin/test
+
+[Install]
+RequiredBy=multi-user.target
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test2.service b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test2.service
new file mode 100644
index 0000000..d98eb9f
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test2.service
@@ -0,0 +1,4 @@
+[Unit]
+After=
+After=syslog.target
+Documentation=https://www.freedesktop.org/wiki/Software/dbus/
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test3.service b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test3.service
new file mode 100644
index 0000000..88e5f4e
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test3.service
@@ -0,0 +1,6 @@
+[Unit]
+After=
+After = syslog.target
+
+[Install]
+WantedBy=multi-user.target
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test4.service b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test4.service
new file mode 100644
index 0000000..d63a719
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test4.service
@@ -0,0 +1,8 @@
+[Unit]
+Documentation=https://www.example.com/
+
+[Service]
+ExecStart=/usr/bin/test
+
+[Install]
+Also=test3
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test5.service b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test5.service
new file mode 100644
index 0000000..d26713a
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test5.service
@@ -0,0 +1,11 @@
+[Unit]
+Documentation=https://www.example.com/
+
+[Service]
+Type=oneshot
+ExecStart=/etc/init.d/test5 start
+ExecStartPre=/etc/init.d/test5 start-pre
+ExecStartPost=/etc/init.d/test5 start-post
+ExecReload=/etc/init.d/test5 reload
+ExecStop=/etc/init.d/test5 stop
+ExecStopPost=/etc/init.d/test5 stop-post
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test@.service b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test@.service
new file mode 100644
index 0000000..d54ea5d
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/debian/test@.service
@@ -0,0 +1,5 @@
+[Unit]
+Documentation=https://www.example.com/
+
+[Service]
+ExecStart=/usr/bin/test
diff --git a/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/fill-values b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/fill-values
new file mode 100644
index 0000000..dad1cdf
--- /dev/null
+++ b/t/recipes/checks/systemd/systemd-complex-service-file/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: systemd-complex-service-file
+Dh-Compat-Level: 9
+Description: Long ago tested the dropped .include directive; now another general purpose test