Compare commits
2 Commits
3681d1d026
...
890c2bd030
Author | SHA1 | Date | |
---|---|---|---|
890c2bd030 | |||
a147a1655d |
@ -18,6 +18,14 @@ 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
|
||||
ExecStart=/usr/local/bin/filebrowser -d PH_NAS_DIRECTORY/filebrowser.db
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Reference in New Issue
Block a user