Skip to content

Commit

Permalink
templates: use correct cron version in alpine template
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Athanasopoulos <alex@melato.org>
  • Loading branch information
melato committed Sep 6, 2016
1 parent a47e327 commit b68d0b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/lxc-alpine.in
Expand Up @@ -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
}

Expand Down

0 comments on commit b68d0b8

Please sign in to comment.