lokinet/debian/postinst
2018-12-03 09:03:42 -05:00

4 lines
176 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