Package: cron Version: 3.0pl1-124 Followup-For: Bug #716802 actually include service file
-- Package-specific info: --- EDITOR: --- /usr/bin/editor: /bin/nano --- /usr/bin/crontab: -rwxr-sr-x 1 root crontab 26548 Jul 3 2012 /usr/bin/crontab --- /var/spool/cron: drwxr-xr-x 3 root root 4096 Jun 25 02:12 /var/spool/cron --- /var/spool/cron/crontabs: drwx-wx--T 2 root crontab 4096 Jul 3 2012 /var/spool/cron/crontabs --- /etc/cron.d: drwxr-xr-x 2 root root 4096 Jul 12 15:15 /etc/cron.d --- /etc/cron.daily: drwxr-xr-x 2 root root 4096 Jul 12 15:15 /etc/cron.daily --- /etc/cron.hourly: drwxr-xr-x 2 root root 4096 Jun 25 02:12 /etc/cron.hourly --- /etc/cron.monthly: drwxr-xr-x 2 root root 4096 Jul 12 15:15 /etc/cron.monthly --- /etc/cron.weekly: drwxr-xr-x 2 root root 4096 Jul 12 15:15 /etc/cron.weekly -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: armhf (armv7l) Kernel: Linux 3.4.0 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cron depends on: ii adduser 3.113+nmu3 ii debianutils 4.3.4 ii dpkg 1.16.10 ii libc6 2.17-7 ii libpam-runtime 1.1.3-9 ii libpam0g 1.1.3-9 ii libselinux1 2.1.13-2 ii lsb-base 4.1+Debian12 Versions of packages cron recommends: ii ssmtp [mail-transport-agent] 2.64-7 Versions of packages cron suggests: ii anacron 2.3-19 pn checksecurity <none> ii logrotate 3.8.5-1 Versions of packages cron is related to: pn libnss-ldap <none> pn libnss-ldapd <none> pn libpam-ldap <none> pn libpam-mount <none> pn nis <none> pn nscd <none> -- no debconf information
>From 8680b4e2ff773c6793e493f6da3f88192cf5e355 Mon Sep 17 00:00:00 2001 From: Shawn Landden <shawnland...@gmail.com> Date: Fri, 12 Jul 2013 15:12:43 -0700 Subject: [PATCH] add systemd cron.service --- debian/control | 3 ++- debian/cron.service | 9 +++++++++ debian/rules | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 debian/cron.service diff --git a/debian/control b/debian/control index f9180e6..b2417ab 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9), libpam0g-dev, libselinux1-dev [linux-any], - libaudit-dev [linux-any] + libaudit-dev [linux-any], + dh-systemd Homepage: http://ftp.isc.org/isc/cron/ Vcs-Git: git://git.debian.org/git/pkg-cron/pkg-cron.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg-cron.git diff --git a/debian/cron.service b/debian/cron.service new file mode 100644 index 0000000..1afc4f7 --- /dev/null +++ b/debian/cron.service @@ -0,0 +1,9 @@ +[Unit] +Description=Regular background program processing daemon + +[Service] +ExecStart=/usr/sbin/cron -f + +[Install] +WantedBy=multi-user.target + diff --git a/debian/rules b/debian/rules index c140b0d..82c39de 100755 --- a/debian/rules +++ b/debian/rules @@ -50,7 +50,7 @@ endif %: - dh $@ + dh $@ --with=systemd override_dh_auto_install: -- 1.8.3.2