This commit is contained in:
2023-03-25 10:32:53 -05:00
parent 4fb2b85cf7
commit 87f0a20621
2 changed files with 57 additions and 36 deletions

View File

@@ -12,18 +12,30 @@ outputlogfile=${MMFOLDER}/logs/outputs.check.log
[ ! -f ${logfile} ] && touch $logfile
[ ! -f ${outputlogfile} ] && touch $outputlogfile
declare -A NM_SERVICES
NM_SERVICES['openvpn']='OpenVPN (TorGuard VPN Tunnel)'
NM_SERVICES['wireguard']='WireGuard (TorGuard VPN Tunnel)'
NM_SERVICES['lidarr']='Lidarr (Music Manager)'
NM_SERVICES['radarr']='Radarr (Movie Manager)'
NM_SERVICES['radarr3d']='Radarr3D (3D Movie Manager)'
NM_SERVICES['sonarr']='Sonarr (TV Show Manager)'
NM_SERVICES['bazarr']='Bazarr (Subtitle Manager)'
NM_SERVICES['jackett']='Jackett (Torrent Indexing Manager)'
NM_SERVICES['qbittorrent']='qBittorrent (Torrent Downloader)'
NM_SERVICES['snap.tautulli.tautulli']='Tautulli (Plex Stats)'
NM_SERVICES['ombi']='Ombi (Download Requester)'
declare -A MM_SERVICES
MM_SERVICES['openvpn']='OpenVPN (TorGuard VPN Tunnel)'
MM_SERVICES['wireguard']='WireGuard (TorGuard VPN Tunnel)'
MM_SERVICES['lidarr']='Lidarr (Music Manager)'
MM_SERVICES['radarr']='Radarr (Movie Manager)'
MM_SERVICES['radarr3d']='Radarr3D (3D Movie Manager)'
MM_SERVICES['sonarr']='Sonarr (TV Show Manager)'
MM_SERVICES['bazarr']='Bazarr (Subtitle Manager)'
MM_SERVICES['jackett']='Jackett (Torrent Indexing Manager)'
MM_SERVICES['qbittorrent']='qBittorrent (Torrent Downloader)'
MM_SERVICES['snap.tautulli.tautulli']='Tautulli (Plex Stats)'
MM_SERVICES['ombi']='Ombi (Download Requester)'
declare -A MM_SERVICE_PORTS
MM_SERVICE_PORTS['ombi']='5000'
MM_SERVICE_PORTS['radarr']='5555'
MM_SERVICE_PORTS['radarr3d']='5556'
MM_SERVICE_PORTS['sonarr']='5656'
MM_SERVICE_PORTS['qbittorrent']='5858'
MM_SERVICE_PORTS['snap.tautulli.tautulli']='8181'
MM_SERVICE_PORTS['lidarr']='8686'
MM_SERVICE_PORTS['jackett']='9117'
MM_SERVICE_PORTS['bazarr']='6767'
if [ "${VPN_INTERFACE}" = "tun0" ]; then #openvpn
VPN_START=(/bin/systemctl start openvpn)