Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ct/plex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ function update_script() {
msg_ok "Removed legacy plexupdate"
fi

# Disable redundant rsyslog to prevent AppArmor sendmsg denials on /run/systemd/journal/dev-log
if systemctl is-active --quiet rsyslog 2>/dev/null; then
msg_info "Disabling redundant rsyslog service"
systemctl disable --now -q rsyslog syslog.socket 2>/dev/null || true
systemctl mask -q rsyslog 2>/dev/null || true
msg_ok "Disabled redundant rsyslog service"
fi

msg_info "Updating Plex Media Server"
apt_update_safe
$STD apt install -y plexmediaserver
Expand Down
8 changes: 8 additions & 0 deletions install/plex-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ verb_ip6
catch_errors
setting_up_container
network_check

if systemctl is-active --quiet rsyslog 2>/dev/null; then
msg_info "Disabling redundant rsyslog service"
systemctl disable --now -q rsyslog syslog.socket 2>/dev/null || true
systemctl mask -q rsyslog 2>/dev/null || true
msg_ok "Disabled redundant rsyslog service"
fi

update_os

msg_info "Setting Up Plex Media Server Repository"
Expand Down
Loading