lokinet/debian/postinst

4 lines
216 B
Plaintext
Raw Normal View History

2018-10-23 11:45:14 +00:00
#!/bin/sh -e
2018-12-03 14:03:42 +00:00
setcap cap_net_admin,cap_net_bind_service=+eip /usr/bin/lokinet || echo "failed to setcap lokinet"
2019-04-05 14:58:22 +00:00
adduser --quiet --system --home /var/lib/lokinet debian-lokinet || echo "debian-lokinet user not added"