2023-07-15 22:34:00 -05:00
|
|
|
pre_install() {
|
2023-10-10 13:04:45 -05:00
|
|
|
if ! id aether &>/dev/null; then
|
|
|
|
groupadd aether &>/dev/null
|
|
|
|
useradd -g aether -d /srv/aether -s /bin/false aether &> /dev/null
|
|
|
|
chown -R aether:aether /srv/aether &> /dev/null
|
|
|
|
fi
|
2023-07-15 22:34:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre_remove() {
|
|
|
|
getent passwd aether &>/dev/null && userdel aether &> /dev/null
|
|
|
|
}
|