change user permissions
This commit is contained in:
parent
6cfad96323
commit
02c3836883
|
@ -84,10 +84,12 @@ pushd /opt/telebit-relay
|
||||||
rsync -a dist/etc/systemd/system/telebit-relay.service /etc/systemd/system/telebit-relay.service
|
rsync -a dist/etc/systemd/system/telebit-relay.service /etc/systemd/system/telebit-relay.service
|
||||||
popd
|
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
|
edit /opt/telebit-relay/etc/telebit-relay.yml
|
||||||
|
|
||||||
adduser --home /opt/telebit-relay --gecos '' --disabled-password telebit >/dev/null 2>&1
|
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 daemon-reload
|
||||||
systemctl restart telebit-relay
|
systemctl restart telebit-relay
|
||||||
|
|
Loading…
Reference in New Issue