Документация и UX установки: полный production-fix по fix32
This commit is contained in:
@@ -370,6 +370,16 @@ if command -v systemctl >/dev/null 2>&1; then
|
||||
systemctl daemon-reload || true
|
||||
fi
|
||||
|
||||
echo "AWG2 Harness installed."
|
||||
echo "Runtime config is not created automatically by design."
|
||||
echo "Create /etc/awg2-harness/config.toml manually before enabling services:"
|
||||
echo " install -d -m 0755 /etc/awg2-harness"
|
||||
echo " cp /usr/share/doc/awg2-harness/repo/config.example.toml /etc/awg2-harness/config.toml"
|
||||
echo " nano /etc/awg2-harness/config.toml"
|
||||
echo "Then validate and enable services:"
|
||||
echo " awg2-harness --config /etc/awg2-harness/config.toml validate-config"
|
||||
echo " systemctl enable --now awg2-harness.service awg2-reboot-scheduler.service"
|
||||
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user