blob: 8a7e131bfbfdca414b5d1f182639e53d51730833 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
post_install() {
post_upgrade $1
}
post_upgrade() {
if ! getent passwd nostromo >/dev/null; then
useradd --system -c 'nostromo web server user' -g daemon -d /usr/share/nostromo/htdocs -s /sbin/nologin nostromo
fi
chown -R nostromo:daemon /usr/share/nostromo/htdocs
chown -R nostromo:daemon /usr/share/nostromo/logs
}
|