lokinet/debian/postinst
Jeff Becker c910a2a2fb
more
2019-04-05 10:58:22 -04:00

4 lines
216 B
Bash

#!/bin/sh -e
setcap cap_net_admin,cap_net_bind_service=+eip /usr/bin/lokinet || echo "failed to setcap lokinet"
adduser --quiet --system --home /var/lib/lokinet debian-lokinet || echo "debian-lokinet user not added"