Merge "ETCD need to add UNSUPPORT environment in AArch64"
This commit is contained in:
commit
688993bf2e
@ -57,6 +57,9 @@ function start_etcd3 {
|
|||||||
iniset -sudo $unitfile "Service" "Type" "notify"
|
iniset -sudo $unitfile "Service" "Type" "notify"
|
||||||
iniset -sudo $unitfile "Service" "Restart" "on-failure"
|
iniset -sudo $unitfile "Service" "Restart" "on-failure"
|
||||||
iniset -sudo $unitfile "Service" "LimitNOFILE" "65536"
|
iniset -sudo $unitfile "Service" "LimitNOFILE" "65536"
|
||||||
|
if is_arch "aarch64"; then
|
||||||
|
iniset -sudo $unitfile "Service" "Environment" "ETCD_UNSUPPORTED_ARCH=arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
$SYSTEMCTL daemon-reload
|
$SYSTEMCTL daemon-reload
|
||||||
$SYSTEMCTL enable $ETCD_SYSTEMD_SERVICE
|
$SYSTEMCTL enable $ETCD_SYSTEMD_SERVICE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user