mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
doc: add info about changing PORT in albyhub.service (#679)
* doc: add info about changing PORT in albyhub.service * doc: add extra service instructions * doc: link to editing the service section
This commit is contained in:
parent
1eee3892be
commit
db658952a9
1 changed files with 11 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ Optionally it can also create a systemd service for you.
|
|||
|
||||
You can also do these quite simple steps manually, have a look in the install script for details.
|
||||
|
||||
Alby Hub will run on localhost:8080 by default (configurable using the `PORT` environment variable)
|
||||
Alby Hub will run on localhost:8080 by default (configurable using the `PORT` environment variable or by adding `Environment="PORT=8081"` to the `[Service]` section of the albyhub.service file - See "Editing The Service" below)
|
||||
|
||||
To run on a public domain we recommend the use of a reverse proxy using [Caddy](https://caddyserver.com/)
|
||||
|
||||
### Running the services
|
||||
|
|
@ -36,6 +37,15 @@ Or use the start scripts:
|
|||
|
||||
$ [your install path]/start.sh
|
||||
|
||||
### Viewing Logs (systemd)
|
||||
|
||||
$ sudo journalctl -u albyhub
|
||||
|
||||
### Editing The Service (systemd)
|
||||
$ sudo nano /etc/systemd/system/albyhub.service
|
||||
$ sudo systemctl daemon-reload
|
||||
$ sudo systemctl restart albyhub.service
|
||||
|
||||
### Backup !
|
||||
|
||||
Make sure to backup your data directories:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue