Feb 25, 2020
This commit is contained in:
		
							
								
								
									
										26
									
								
								jails/config/plex/Settings.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								jails/config/plex/Settings.cfg
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
			
		||||
[PlexConnect]
 | 
			
		||||
enable_plexgdm = False
 | 
			
		||||
ip_pms = 192.168.200.56
 | 
			
		||||
port_pms = 32400
 | 
			
		||||
enable_dnsserver = True
 | 
			
		||||
port_dnsserver = 53
 | 
			
		||||
ip_dnsmaster = 192.168.200.5
 | 
			
		||||
prevent_atv_update = True
 | 
			
		||||
intercept_atv_icon = True
 | 
			
		||||
enable_plexconnect_autodetect = False
 | 
			
		||||
ip_plexconnect = 192.168.200.56
 | 
			
		||||
use_custom_dns_bind_ip = False
 | 
			
		||||
custom_dns_bind_ip = 0.0.0.0
 | 
			
		||||
hosttointercept = trailers.apple.com
 | 
			
		||||
icon = movie-trailers
 | 
			
		||||
certfile = ./assets/certificates/trailers.pem
 | 
			
		||||
port_webserver = 80
 | 
			
		||||
enable_webserver_ssl = True
 | 
			
		||||
port_ssl = 443
 | 
			
		||||
allow_gzip_atv = False
 | 
			
		||||
allow_gzip_pmslocal = False
 | 
			
		||||
allow_gzip_pmsremote = True
 | 
			
		||||
fanart_quality = High
 | 
			
		||||
loglevel = Normal
 | 
			
		||||
logpath = .
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										41
									
								
								jails/config/plex/plexconnect
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										41
									
								
								jails/config/plex/plexconnect
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,41 @@
 | 
			
		||||
# Copyright (c) 2018-2020, diyIT.org
 | 
			
		||||
# All rights reserved.
 | 
			
		||||
#
 | 
			
		||||
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
 | 
			
		||||
# https://diyit.org/license/
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
#
 | 
			
		||||
# PROVIDE: plexconnect
 | 
			
		||||
# REQUIRE: DAEMON
 | 
			
		||||
# KEYWORD: shutdown
 | 
			
		||||
 | 
			
		||||
. /etc/rc.subr
 | 
			
		||||
 | 
			
		||||
name=plexconnect
 | 
			
		||||
rcvar=plexconnect_enable
 | 
			
		||||
 | 
			
		||||
start_cmd="${name}_start"
 | 
			
		||||
stop_cmd="${name}_stop"
 | 
			
		||||
status_cmd="${name}_status"
 | 
			
		||||
extra_commands="status"
 | 
			
		||||
PATH=/usr/local/bin:${PATH}
 | 
			
		||||
 | 
			
		||||
plexconnect_start()
 | 
			
		||||
{
 | 
			
		||||
/usr/local/bin/bash /data/PlexConnect/PlexConnect_daemon.bash start
 | 
			
		||||
}
 | 
			
		||||
plexconnect_stop()
 | 
			
		||||
{
 | 
			
		||||
/usr/local/bin/bash /data/PlexConnect/PlexConnect_daemon.bash stop
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
plexconnect_status()
 | 
			
		||||
{
 | 
			
		||||
/usr/local/bin/bash /data/PlexConnect/PlexConnect_daemon.bash status
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
load_rc_config $name
 | 
			
		||||
run_rc_command "$1"
 | 
			
		||||
		Reference in New Issue
	
	Block a user