Control: tags 1054093 + pending
Dear maintainer,
I've prepared an NMU for monit (versioned as 1:5.33.0-2.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.
Regards.
diff -Nru monit-5.33.0/debian/changelog monit-5.33.0/debian/changelog
--- monit-5.33.0/debian/changelog 2023-08-20 22:27:26.0 +0200
+++ monit-5.33.0/debian/changelog 2024-05-30 02:57:21.0 +0200
@@ -1,3 +1,12 @@
+monit (1:5.33.0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Helmut Grohne ]
+ * Let dh_installsystemd choose the location of units (Closes: #1054093)
+
+ -- Chris Hofstaedtler Thu, 30 May 2024 02:57:21 +0200
+
monit (1:5.33.0-2) unstable; urgency=medium
* debian/conf-available/:
diff -Nru monit-5.33.0/debian/monit.install monit-5.33.0/debian/monit.install
--- monit-5.33.0/debian/monit.install 2023-08-20 22:26:59.0 +0200
+++ monit-5.33.0/debian/monit.install 2024-05-30 02:57:07.0 +0200
@@ -2,4 +2,3 @@
debian/conf-available/* etc/monit/conf-available/
debian/templates/* etc/monit/templates/
system/bash/monit usr/share/bash-completion/completions/
-system/startup/monit.service lib/systemd/system/
diff -Nru monit-5.33.0/debian/monit.service monit-5.33.0/debian/monit.service
--- monit-5.33.0/debian/monit.service 1970-01-01 01:00:00.0 +0100
+++ monit-5.33.0/debian/monit.service 2023-02-11 11:29:19.0 +0100
@@ -0,0 +1,33 @@
+# This file is systemd template for monit service. To
+# register monit with systemd, place the monit.service file
+# to the /lib/systemd/system/ directory and then start it
+# using systemctl (see bellow).
+#
+# Enable monit to start on boot:
+# systemctl enable monit.service
+#
+# Start monit immediately:
+# systemctl start monit.service
+#
+# Stop monit:
+# systemctl stop monit.service
+#
+# Status:
+# systemctl status monit.service
+
+[Unit]
+Description=Pro-active monitoring utility for unix systems
+After=network-online.target
+Documentation=man:monit(1) https://mmonit.com/wiki/Monit/HowTo
+
+[Service]
+Type=simple
+KillMode=process
+ExecStart=/usr/local/bin/monit -I
+ExecStop=/usr/local/bin/monit quit
+ExecReload=/usr/local/bin/monit reload
+Restart=on-abnormal
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target