-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yum-cron.sysvinit => yum-cron.service. BZ 893593
Based on the BZ patch, with some modifications: - got rid of (now unused) yum-cron.sysvinit - added BuildRequires: systemd-units, as recommended on https://fedoraproject.org/wiki/PackagingDrafts:SystemdClarification#Packaging - also updated yum-cron/Makefile RPMs have built fine in rawhide, but I'm not sure this patch is 100% correct, especially if hardcoding yum-cron.service path in Makefile is ok: +install -D -m 644 yum-cron.service $(DESTDIR)/usr/lib/systemd/system/yum-cron.service Is there a way to expand ${_unitdir} in Makefiles?
- Loading branch information
Zdenek Pavlas
committed
Jan 14, 2013
1 parent
afdf914
commit fd53c9c
Showing
4 changed files
with
19 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Run automatic yum updates as a cron job | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/bin/touch /var/lock/subsys/yum-cron | ||
ExecStop=/bin/rm -f /var/lock/subsys/yum-cron | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters