Refactor Alpine IronClaw: use \ instead of >/dev/null 2>&1
This commit is contained in:
@@ -19,8 +19,8 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Installing PostgreSQL"
|
msg_info "Installing PostgreSQL"
|
||||||
$STD apk add postgresql17 postgresql17-openrc postgresql-pgvector postgresql-common
|
$STD apk add postgresql17 postgresql17-openrc postgresql-pgvector postgresql-common
|
||||||
rc-service postgresql setup >/dev/null 2>&1
|
$STD rc-service postgresql setup
|
||||||
rc-update add postgresql default >/dev/null 2>&1
|
$STD rc-update add postgresql default
|
||||||
$STD rc-service postgresql start
|
$STD rc-service postgresql start
|
||||||
msg_ok "Installed PostgreSQL"
|
msg_ok "Installed PostgreSQL"
|
||||||
|
|
||||||
@@ -68,8 +68,8 @@ depend() {
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
chmod +x /etc/init.d/ironclaw
|
chmod +x /etc/init.d/ironclaw
|
||||||
rc-update add ironclaw default >/dev/null 2>&1
|
$STD rc-update add ironclaw default
|
||||||
rc-service ironclaw start >/dev/null 2>&1
|
$STD rc-service ironclaw start
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user