Section: admin
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 7), quilt, dh-systemd (>= 1.4)
-Standards-Version: 3.7.3
-Homepage: http://pve.proxmox.com
+Build-Depends: debhelper (>= 12), quilt
+Standards-Version: 4.5.1
+Homepage: https://pve.proxmox.com
Package: ksm-control-daemon
Architecture: all
--- /dev/null
+[Unit]
+Description=Kernel Samepage Merging (KSM) Tuning Daemon
+
+[Service]
+ExecStart=/usr/sbin/ksmtuned
+ExecReload=/bin/kill -USR1 $MAINPID
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
+++ /dev/null
-[Unit]
-Description=Kernel Samepage Merging (KSM) Tuning Daemon
-
-[Service]
-ExecStart=/usr/sbin/ksmtuned
-ExecReload=/bin/kill -USR1 $MAINPID
-Type=forking
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file
include /usr/share/dpkg/default.mk
%:
- dh $@ --with quilt,systemd
+ dh $@ --with quilt
destdir := $(CURDIR)/debian/ksm-control-daemon
install -D -m 0644 $(CURDIR)/debian/defaults $(destdir)/etc/default/ksmtuned
install -D -m 0644 $(CURDIR)/ksmtuned.conf $(destdir)/etc/ksmtuned.conf
-override_dh_systemd_enable:
- dh_systemd_enable --name ksmtuned
+override_dh_installsystemd:
+ dh_installsystemd --name ksmtuned