From 4bbadcbd098286564a6dffd49cfb13d948ed8362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 28 Jul 2014 22:11:08 +0200 Subject: changes on downtimed.systemd (bug #756282) --- debian/changelog | 13 +++++++++++++ debian/downtimed.service | 13 ++++++++++++- debian/systemd/downtimed.service | 12 ------------ 3 files changed, 25 insertions(+), 13 deletions(-) mode change 120000 => 100644 debian/downtimed.service delete mode 100644 debian/systemd/downtimed.service (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 8bcdc9b..2f7fb23 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +downtimed (0.6-4) unstable; urgency=medium + + * Move downtimed.service from debian/systemd/ to debian/. + * debian/downtimed.service (Closes: #756282) + - Change Unit/Description to describe the service better. + - Remove not required Unit/After=network.target. + - Remove unnecessary Service/KillMode=process. + - Add new Service/Type=forking so that systemd can handle downtimed. + - Remove -D from Service/ExecStart to enable database updates. + Thanks to Romain Francoise + + -- Jörg Frings-Fürst Mon, 28 Jul 2014 20:14:25 +0200 + downtimed (0.6-3) unstable; urgency=medium * debian/systemd/downtimed.service: diff --git a/debian/downtimed.service b/debian/downtimed.service deleted file mode 120000 index 81f2345..0000000 --- a/debian/downtimed.service +++ /dev/null @@ -1 +0,0 @@ -systemd/downtimed.service \ No newline at end of file diff --git a/debian/downtimed.service b/debian/downtimed.service new file mode 100644 index 0000000..2ce4506 --- /dev/null +++ b/debian/downtimed.service @@ -0,0 +1,12 @@ +[Unit] +Description=Downtime record keeper + +[Service] +EnvironmentFile=-/etc/default/downtimed +ExecStart=/usr/sbin/downtimed $DOWNTIMED_OPTS +ExecReload=/bin/kill -HUP $MAINPID +Type=forking +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/debian/systemd/downtimed.service b/debian/systemd/downtimed.service deleted file mode 100644 index 4cb2be8..0000000 --- a/debian/systemd/downtimed.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Dowmtimed server -After=network.target - -[Service] -EnvironmentFile=-/etc/default/downtimed -ExecStart=/usr/sbin/downtimed -D $DOWNTIMED_OPTS -KillMode=process -Restart=on-failure - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3