mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 17:04:01 +01:00
Updated Install as a daemon (markdown)
@@ -14,6 +14,25 @@ This installation assumes Headphones is installed to `/opt/headphones`. Make sur
|
||||
* `sudo update-rc.d headphones defaults`
|
||||
* `sudo service headphones [start | stop | reload | restart]`
|
||||
|
||||
## CentOS / RedHat
|
||||
This installation assumes Headphones is installed to `/opt/headphones`. Make sure all paths are correct and accessible. A common mistake is that a daemon user has no read and/or write permissions.
|
||||
|
||||
* `sudo adduser --system sabnzbd`
|
||||
* `mkdir /home/sabnzbd`
|
||||
* `mkdir /etc/headphones`
|
||||
* `mkdir -R chown sabnzbd:sabnzbd /home/sabnzbd'
|
||||
* `cd /home/sabnzbd`
|
||||
* `git clone https://github.com/rembo10/headphones.git`
|
||||
* Adjust settings in `/etc/default/headphones`. See the comments in `/home/sabnzbd/headphones/init-scripts/init.fedora.centos.systemd` for the list of parameters.
|
||||
* `sudo cp /home/sabnzbd/headphones/init-scripts/init.fedora.centos.systemd /home/sabnzbd/headphones/init-scripts/headphones.service`
|
||||
* `sudo chmod +x /home/sabnzbd/headphones/init-scripts/headphones.service`
|
||||
* `sudo touch /etc/headphones/headphones.ini
|
||||
* `sudo chown sabnzbd:sabnzbd /etc/headphones/headphones.ini
|
||||
* `sudo cp /home/sabnzbd/headphones/init-scripts/headphones.service /lib/systemd/system/headphones.service`
|
||||
* `sudo systemctl daemon-reload`
|
||||
* `sudo systemctl enable headphones.service`
|
||||
* `sudo service headphones [start | stop | reload | restart]`
|
||||
|
||||
## Synology
|
||||
|
||||
* Go to your DSM > Users > Create user and create user `headphones`
|
||||
|
||||
Reference in New Issue
Block a user