Prevent services from auto-starting during installation.
This commit is contained in:
parent
7bb0aa3ca7
commit
a4bd63df49
|
@ -5,4 +5,7 @@ set -x
|
|||
|
||||
apt-get update
|
||||
|
||||
# Prevent systemd auto-startup
|
||||
ln -s /dev/null /etc/systemd/system/beanstalkd.service
|
||||
|
||||
$minimal_apt_get_install beanstalkd
|
||||
|
|
|
@ -3,9 +3,10 @@ set -e
|
|||
source /bd_build/buildconfig
|
||||
set -x
|
||||
|
||||
$minimal_apt_get_install cron
|
||||
# Prevent systemd auto-startup
|
||||
ln -s /dev/null /etc/systemd/system/cron.service
|
||||
|
||||
service cron stop
|
||||
$minimal_apt_get_install cron
|
||||
|
||||
chmod 600 /etc/crontab
|
||||
|
||||
|
@ -21,4 +22,4 @@ rm -f /etc/cron.daily/password
|
|||
rm -f /etc/cron.weekly/fstrim
|
||||
|
||||
cp -r /bd_build/cron/. /etc/cron.d/
|
||||
chmod -R 600 /etc/cron.d/*
|
||||
chmod -R 600 /etc/cron.d/*
|
||||
|
|
Loading…
Reference in New Issue