diff options
author | 2019-03-16 21:02:42 +0100 | |
---|---|---|
committer | 2019-03-16 21:02:55 +0100 | |
commit | 1a8e9bee8c818f8b234f1e16105a77209a9612ad (patch) | |
tree | 2a0df69aa36350296134be400200abd95486a15d /sys-process/cronie/files | |
parent | sys-process/cronie: Properly name the systemd patch. (diff) | |
download | gentoo-1a8e9bee8c818f8b234f1e16105a77209a9612ad.tar.gz gentoo-1a8e9bee8c818f8b234f1e16105a77209a9612ad.tar.bz2 gentoo-1a8e9bee8c818f8b234f1e16105a77209a9612ad.zip |
sys-process/cronie: Security bump to version 1.5.3
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process/cronie/files')
-rw-r--r-- | sys-process/cronie/files/cronie-1.5.3-systemd.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-process/cronie/files/cronie-1.5.3-systemd.patch b/sys-process/cronie/files/cronie-1.5.3-systemd.patch new file mode 100644 index 000000000000..0779b4e3f8d6 --- /dev/null +++ b/sys-process/cronie/files/cronie-1.5.3-systemd.patch @@ -0,0 +1,33 @@ +From 6ce570afc34c961d1bb347c406c989614db2ef89 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Sat, 16 Mar 2019 20:57:37 +0100 +Subject: [PATCH] Adjust systemd service unit for Gentoo + +forward-ported to v1.5.3 by Lars Wendler <polynomial-c@gentoo.org> +--- + contrib/cronie.systemd | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/contrib/cronie.systemd b/contrib/cronie.systemd +index 19f2a98..24adc38 100644 +--- a/contrib/cronie.systemd ++++ b/contrib/cronie.systemd +@@ -3,12 +3,13 @@ Description=Command Scheduler + After=auditd.service nss-user-lookup.target systemd-user-sessions.service time-sync.target ypbind.service autofs.service + + [Service] +-EnvironmentFile=/etc/sysconfig/crond +-ExecStart=/usr/sbin/crond -n $CRONDARGS ++ExecStart=/usr/sbin/crond + ExecReload=/bin/kill -HUP $MAINPID + KillMode=process + Restart=on-failure + RestartSec=30s ++Type=forking ++PIDfile=/run/crond + + [Install] + WantedBy=multi-user.target +-- +2.21.0 + |