mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-22 09:27:46 +02:00
Compare commits
2 Commits
b05966d30b
...
68009c85a5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68009c85a5 | ||
|
|
1c7c64c4aa |
@@ -38,6 +38,7 @@ builds:
|
|||||||
- mips64
|
- mips64
|
||||||
- riscv64
|
- riscv64
|
||||||
- mipsle
|
- mipsle
|
||||||
|
- ppc64le
|
||||||
ignore:
|
ignore:
|
||||||
- goos: freebsd
|
- goos: freebsd
|
||||||
goarch: arm
|
goarch: arm
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ if ! getent passwd "$SERVICE_USER" >/dev/null; then
|
|||||||
--gecos "System user for $SERVICE"
|
--gecos "System user for $SERVICE"
|
||||||
fi
|
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
|
# Create config file if it doesn't already exist
|
||||||
if [ ! -f "$CONFIG_FILE" ]; then
|
if [ ! -f "$CONFIG_FILE" ]; then
|
||||||
touch "$CONFIG_FILE"
|
touch "$CONFIG_FILE"
|
||||||
|
|||||||
Reference in New Issue
Block a user