[arch-commits] Commit in cronie/trunk (PKGBUILD)
Tom Gundersen
tomegun at archlinux.org
Sat Aug 4 13:53:19 UTC 2012
Date: Saturday, August 4, 2012 @ 09:53:19
Author: tomegun
Revision: 164747
add compat symlink for systemd service file
This should hopefully make it easier for people to convert from initscripts to systemd,
and it also allows systemd to understand that the rc script and the service file are the same.
This is copied from how the networkmanager package deals with this.
Modified:
cronie/trunk/PKGBUILD
----------+
PKGBUILD | 3 +++
1 file changed, 3 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-08-04 11:26:06 UTC (rev 164746)
+++ PKGBUILD 2012-08-04 13:53:19 UTC (rev 164747)
@@ -66,4 +66,7 @@
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
+
+ # Provide native service for arch-daemons generator
+ ln -s cronie.service "$pkgdir/usr/lib/systemd/system/crond.service"
}
More information about the arch-commits
mailing list