2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 09:39:34 +00:00

Merge pull request #1173 from melato/alpine-cron-v2

templates: use correct cron version in alpine template
This commit is contained in:
Christian Brauner
2016-09-06 16:15:44 +02:00
committed by GitHub

View File

@@ -364,8 +364,12 @@ setup_services() {
done
# default runlevel
for svc_name in networking cron; do
ln -s /etc/init.d/$svc_name etc/runlevels/default/$svc_name
for svc_name in networking cron crond; do
# issue 1164: alpine renamed cron to crond
# Use the one that exists.
if [ -e etc/init.d/$svc_name ]; then
ln -s /etc/init.d/$svc_name etc/runlevels/default/$svc_name
fi
done
}