change user permissions

This commit is contained in:
AJ ONeal 2018-06-14 22:22:58 +00:00
parent 6cfad96323
commit 02c3836883
1 changed files with 3 additions and 1 deletions

View File

@ -84,10 +84,12 @@ pushd /opt/telebit-relay
rsync -a dist/etc/systemd/system/telebit-relay.service /etc/systemd/system/telebit-relay.service
popd
# IMPORTANT: Season to taste
# IMPORTANT: Season the config file to taste
# IMPORTANT: change your email address and domain
edit /opt/telebit-relay/etc/telebit-relay.yml
adduser --home /opt/telebit-relay --gecos '' --disabled-password telebit >/dev/null 2>&1
sudo chown -R telebit:telebit /opt/telebit-relay/
systemctl daemon-reload
systemctl restart telebit-relay