Updated Install as a daemon (markdown)

2018-04-19 19:03:22 +02:00
parent b0eb2d0991
commit ce597f8c81

@@ -4,7 +4,7 @@ These steps are presented as guidelines. Your results may vary, depending on ope
Use the following service script for CentOS, Fedora, openSUSE, Ubuntu, etc. that uses systemd. Use the following service script for CentOS, Fedora, openSUSE, Ubuntu, etc. that uses systemd.
Installation notes: Installation notes:
1. Rename this file as you want, ensuring that it ends in .service e.g. 'seasoned.service'. 1. Rename this file as you want, ensuring that it ends in .service e.g. 'seasoned.service'.
2. Adjust configuration settings as required. See configuration details below for more details. 2. Adjust configuration settings as required. See [configuration details](#configuration-details) below for more details.
3. Copy this file into your systemd service unit directory, which is often '/et/systemd/system' or '/lib/systemd/system'. 3. Copy this file into your systemd service unit directory, which is often '/et/systemd/system' or '/lib/systemd/system'.
4. Enable boot-time autostart with the following commands: 4. Enable boot-time autostart with the following commands:
`systemctl daemon-reload` `systemctl daemon-reload`
@@ -12,6 +12,7 @@ Installation notes:
5. Start seasonedShows with the following command: 5. Start seasonedShows with the following command:
`systemctl start seasoned.service` or `service seasoned start` `systemctl start seasoned.service` or `service seasoned start`
Example configuration file:
``` ```
# seasonedShows - Stats for Plex Media Server usage # seasonedShows - Stats for Plex Media Server usage
# #
@@ -36,7 +37,7 @@ Environment=NODE_ENV=production SEASONED_CONFIG=conf/development.json NODE_PATH=
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
#### Configuration notes ### Configuration details
- The example settings in this file assume that you will run seasoned as user: seasoned - The example settings in this file assume that you will run seasoned as user: seasoned
- To create this user and give it ownership of the tautulli directory: - To create this user and give it ownership of the tautulli directory: