31 lines
		
	
	
		
			754 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			754 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# Copy this file as variables.conf, with the correct values
 | 
						|
 | 
						|
nas_location=""
 | 
						|
nas_user=""
 | 
						|
 | 
						|
# Paths to X509 certificate and key
 | 
						|
# If they do not exist, they will be created as a self-singed certificate
 | 
						|
crt_path="/etc/ssl/cert.crt"
 | 
						|
key_path="/etc/ssl/cert.key"
 | 
						|
 | 
						|
# Set up File Browser
 | 
						|
filebrowser="yes"
 | 
						|
filebrowser_server_name="files.$(hostname)"
 | 
						|
 | 
						|
# Set up MiniDLNA
 | 
						|
dlna_server="yes"
 | 
						|
 | 
						|
# Set up Transmission and OpenVPN
 | 
						|
dl_server="yes"
 | 
						|
transmission_server_name="dl.$(hostname)"
 | 
						|
real_ip="" # for VPN check
 | 
						|
authorized_ips="" # for transmission web interface
 | 
						|
user="" # user for transmission web interface
 | 
						|
password="" # password for transmission web interface
 | 
						|
dl_location="" # location of Downloads directory
 | 
						|
 | 
						|
# Set up vsftpd
 | 
						|
ftp_server="no"
 |