summaryrefslogtreecommitdiff
path: root/sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-14 06:19:37 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-14 06:19:37 +0100
commita0f0d2a90269b6864a785a4df8a6b459d1dbce5c (patch)
treeff917aa962df2ec39183d8c4a74b9295cae027b3 /sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch
parent333918aa838615aed27cb5f4b49b87269868deeb (diff)
gentoo auto-resync : 14:10:2023 - 06:19:37
Diffstat (limited to 'sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch')
-rw-r--r--sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch b/sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch
new file mode 100644
index 000000000000..b3032fe982e8
--- /dev/null
+++ b/sys-process/cronie/files/cronie-1.7.0-optional-envionment.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/915699
+https://github.com/cronie-crond/cronie/commit/1a6bed1dcf1871c47fdc6d5957f00eae5a854cc7
+
+From 1a6bed1dcf1871c47fdc6d5957f00eae5a854cc7 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Fri, 13 Oct 2023 11:17:12 +0200
+Subject: [PATCH] make the environment file optional
+
+Starting the daemon works without additional environment variables, so
+make the file optional.
+--- a/contrib/cronie.systemd
++++ b/contrib/cronie.systemd
+@@ -3,7 +3,7 @@ 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
++EnvironmentFile=-/etc/sysconfig/crond
+ ExecStart=/usr/sbin/crond -n $CRONDARGS
+ ExecReload=/bin/kill -URG $MAINPID
+ KillMode=process