mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +02:00
This will create /var/lib/barman and set correct permissions. The default config file states 'barman_home = /var/lib/barman'. If this directory doesn't exist, there will be errors at runtime, for example: / # barman cron ERROR: [Errno 2] No such file or directory: '/var/lib/barman/.streaming-pg-cron.lock'
4 lines
136 B
Bash
Executable file
4 lines
136 B
Bash
Executable file
#!/bin/sh
|
|
addgroup -S barman 2>/dev/null
|
|
adduser -SD -h /var/lib/barman/ -s /sbin/nologin -G barman -g barman barman 2>/dev/null
|
|
exit 0
|