mirror of
https://github.com/samrocketman/docker-compose-emby.git
synced 2026-06-16 09:21:34 +00:00
Add docs for service control
This commit is contained in:
30
README.md
30
README.md
@@ -48,10 +48,40 @@ simply uses systemd to control docker-compose on start, stop, and restart.
|
|||||||
>
|
>
|
||||||
> docker-compose down
|
> docker-compose down
|
||||||
|
|
||||||
|
### Install emby service
|
||||||
|
|
||||||
Install Emby as a service.
|
Install Emby as a service.
|
||||||
|
|
||||||
./install-emby-service.sh
|
./install-emby-service.sh
|
||||||
|
|
||||||
|
### Control emby service
|
||||||
|
|
||||||
|
Start the service.
|
||||||
|
|
||||||
|
systemctl start emby.service
|
||||||
|
|
||||||
|
Stop the service.
|
||||||
|
|
||||||
|
systemctl stop emby.service
|
||||||
|
|
||||||
|
Ensure the service autostarts on reboot.
|
||||||
|
|
||||||
|
systemctl enable emby.service
|
||||||
|
|
||||||
|
Stop the service from autostarting on reboot.
|
||||||
|
|
||||||
|
systemctl disable emby.service
|
||||||
|
|
||||||
|
### Debug emby service
|
||||||
|
|
||||||
|
View the current service status.
|
||||||
|
|
||||||
|
systemctl status emby.service
|
||||||
|
|
||||||
|
View the systemd logs for the service.
|
||||||
|
|
||||||
|
journalctl -u emby.service
|
||||||
|
|
||||||
# Customizing Emby version
|
# Customizing Emby version
|
||||||
|
|
||||||
Modify the `emby` service in [`docker-compose.yml`](docker-compose.yml) with an
|
Modify the `emby` service in [`docker-compose.yml`](docker-compose.yml) with an
|
||||||
|
|||||||
Reference in New Issue
Block a user