mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 10:21:55 +00:00
templates: use correct cron version in alpine template
Signed-off-by: Alex Athanasopoulos <alex@melato.org>
This commit is contained in:
parent
a47e327c4e
commit
b68d0b8c3d
@ -364,8 +364,12 @@ setup_services() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# default runlevel
|
# default runlevel
|
||||||
for svc_name in networking cron; do
|
for svc_name in networking cron crond; do
|
||||||
ln -s /etc/init.d/$svc_name etc/runlevels/default/$svc_name
|
# 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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user