Ada
0c6ebaaf79
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
12 lines
375 B
Bash
12 lines
375 B
Bash
if ! getent group plakken > /dev/null; then
|
|
groupadd -r plakken
|
|
fi
|
|
|
|
if ! getent passwd plakken > /dev/null; then
|
|
useradd -r -d /var/lib/plakken -s /sbin/nologin -G plakken -c "Plakken server" 111111111111111111 plakken
|
|
fi
|
|
if ! test -d /var/lib/plakken; then
|
|
mkdir -p /var/lib/plakken
|
|
chmod 0750 /var/lib/plakken
|
|
chown -R plakken:plakken /var/lib/plakken
|
|
fi
|