Add docs for service control

This commit is contained in:
Sam Gleske
2018-09-09 13:15:08 -07:00
parent 0e3e403446
commit 63531bfbb3

View File

@@ -48,10 +48,40 @@ simply uses systemd to control docker-compose on start, stop, and restart.
>
> docker-compose down
### Install emby service
Install Emby as a service.
./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
Modify the `emby` service in [`docker-compose.yml`](docker-compose.yml) with an