mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-19 03:11:50 +02:00
Compare commits
2 Commits
b05966d30b
...
68009c85a5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68009c85a5 | ||
|
|
1c7c64c4aa |
@@ -38,6 +38,7 @@ builds:
|
||||
- mips64
|
||||
- riscv64
|
||||
- mipsle
|
||||
- ppc64le
|
||||
ignore:
|
||||
- goos: freebsd
|
||||
goarch: arm
|
||||
|
||||
@@ -31,6 +31,12 @@ if ! getent passwd "$SERVICE_USER" >/dev/null; then
|
||||
--gecos "System user for $SERVICE"
|
||||
fi
|
||||
|
||||
# Enable docker
|
||||
if ! getent group docker | grep -q "$SERVICE_USER"; then
|
||||
echo "Adding $SERVICE_USER to docker group"
|
||||
usermod -aG docker "$SERVICE_USER"
|
||||
fi
|
||||
|
||||
# Create config file if it doesn't already exist
|
||||
if [ ! -f "$CONFIG_FILE" ]; then
|
||||
touch "$CONFIG_FILE"
|
||||
|
||||
Reference in New Issue
Block a user