blob: 4d39331e79778bf72cc5401ed9d468d636a848ed (
plain)
1
2
3
4
5
6
7
8
9
|
post_upgrade() {
# hooks are ran *after* this function, so we have to call
# systemd-sysusers manually to make sure the ordersprinter user exists
systemd-sysusers
mkdir -p /var/lib/ordersprinter
chown -R ordersprinter:ordersprinter /var/lib/ordersprinter
chown -R ordersprinter:ordersprinter /opt/ordersprinter/webapp
chmod +x /usr/bin/ordersprinter
}
|