Service install scripts

This commit is contained in:
Maurice
2025-09-29 21:18:21 +02:00
parent f26389d14e
commit 20adfdb96d
5 changed files with 15 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
echo "Basic setup"
echo "Basic setup..."
# Enable community repo
sed -i 's|^#\(http.*/community\)$|\1|' /etc/apk/repositories
@@ -14,6 +14,4 @@ EOF
# Allow local.d services
rc-update add local default
rc-service local start
rc-update add sysctl

View File

@@ -23,6 +23,7 @@ mount --make-rshared /
EOF
chmod +x /etc/local.d/mount-rshared.start
rc-service local start
# Allow ports >= 53 to be rootless bound, persistent
echo "net.ipv4.ip_unprivileged_port_start=53" >> /etc/sysctl.d/podman.conf