Compare commits
No commits in common. "890c2bd030ee96d57211840455e977696d2ad149" and "3681d1d02619e5a4ca8a88ffcd9c6e1513d94ff2" have entirely different histories.
890c2bd030
...
3681d1d026
@ -18,14 +18,6 @@ File Browser must be installed manually at `/usr/local/bin/filebrowser`.
|
||||
|
||||
A "NAS user" should be defined, owner of the NAS root directory: This user shall run some of above services.
|
||||
|
||||
If using Transmission, you need to set a OpenVPN connection config as `vpn`.
|
||||
|
||||
### File Browser init
|
||||
If using File Browser, it should be initiated first:
|
||||
```
|
||||
sudo -u <nas-user> filebrowser -d <nas>/filebrowser.db --username <admin>
|
||||
```
|
||||
|
||||
### Files
|
||||
* `transmission-vpn.sh` is a script which checks if a VPN connection is active and stops Transmission otherwise.
|
||||
* `variables.conf.template` contains examples variables definitions, and should be copied locally to `variables.conf`
|
||||
|
@ -4,7 +4,7 @@ Description=File Browser web interface
|
||||
[Service]
|
||||
User=PH_NAS_USER
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/filebrowser -d PH_NAS_DIRECTORY/filebrowser.db
|
||||
ExecStart=/usr/local/bin/filebrowser -d PH_NAS_DIRECTORY
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Reference in New Issue
Block a user