diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /sys-process/cronie/files | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'sys-process/cronie/files')
-rw-r--r-- | sys-process/cronie/files/cronie-1.5.2-systemd.patch (renamed from sys-process/cronie/files/cronie-systemd.patch) | 2 | ||||
-rw-r--r-- | sys-process/cronie/files/cronie-1.5.3-systemd.patch | 33 |
2 files changed, 34 insertions, 1 deletions
diff --git a/sys-process/cronie/files/cronie-systemd.patch b/sys-process/cronie/files/cronie-1.5.2-systemd.patch index 81c191737842..884e6655fa87 100644 --- a/sys-process/cronie/files/cronie-systemd.patch +++ b/sys-process/cronie/files/cronie-1.5.2-systemd.patch @@ -21,7 +21,7 @@ index ad46899..7a6c1a9 100644 ExecReload=/bin/kill -HUP $MAINPID KillMode=process +Type=forking -+PIDFile=/var/run/crond.pid ++PIDFile=/run/crond.pid [Install] WantedBy=multi-user.target 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..0aed5404d39a --- /dev/null +++ b/sys-process/cronie/files/cronie-1.5.3-systemd.patch @@ -0,0 +1,33 @@ +From d022f457d838251963b23697d7ec907d43b637ac 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..6f4c608 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.pid + + [Install] + WantedBy=multi-user.target +-- +2.21.0 + |