diff options
author | PoroCYon | 2017-03-08 22:43:08 +0100 |
---|---|---|
committer | PoroCYon | 2017-03-08 22:43:08 +0100 |
commit | d41d88c5be1987744ee4dceae517e65f5a55cc9e (patch) | |
tree | 3f097e91fbc0b4c33aa4b4c140d1141d7f269e57 /zifd.install | |
download | aur-d41d88c5be1987744ee4dceae517e65f5a55cc9e.tar.gz |
add files
Diffstat (limited to 'zifd.install')
-rw-r--r-- | zifd.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zifd.install b/zifd.install new file mode 100644 index 000000000000..bf42241f1e67 --- /dev/null +++ b/zifd.install @@ -0,0 +1,9 @@ + +post_install() { + useradd -c "Zif: Decentralised BitTorrent index" -r -s /usr/bin/nologin zif + + chown -R zif /etc/zif /var/lib/zif + chmod 700 /etc/zif /etc/zif/tor /var/lib/zif + chmod 600 /etc/zif/tor/* +} + |