Skip to content

Commit

Permalink
v6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel (Fourdee) committed Jul 15, 2018
1 parent 1fff642 commit adf4e61
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions dietpi/dietpi-software
Expand Up @@ -7759,7 +7759,7 @@ _EOF_
# - NZBget
chown -R nzbget:dietpi $G_FP_DIETPI_USERDATA/nzbget

# - Roon Server/Bridge
# - Roon Bridge
chown -R roon:dietpi $G_FP_DIETPI_USERDATA/roon $G_FP_DIETPI_USERDATA/roonserver

# - GMrender
Expand Down Expand Up @@ -11996,17 +11996,14 @@ _EOF_

Banner_Configuration

useradd -r -M roon -G dietpi -G audio -s /usr/bin/nologin

cat << _EOF_ > /etc/systemd/system/roonserver.service
[Unit]
Description=Roon Server
After=network.target
[Service]
Type=simple
User=roon
Group=dietpi
User=root
Environment=ROON_DATAROOT=$G_FP_DIETPI_USERDATA/roonserver
ExecStart=$G_FP_DIETPI_USERDATA/roonserver/start.sh
Expand Down Expand Up @@ -13146,6 +13143,7 @@ _EOF_
Banner_Uninstalling
rm /etc/systemd/system/roonbridge.service
rm -R /etc/roonbridge
userdel -f roon

fi

Expand All @@ -13158,14 +13156,6 @@ _EOF_

fi

# - Delete roon user if roonbridge+server is not installed
if (( aSOFTWARE_INSTALL_STATE[121] <= 0 && aSOFTWARE_INSTALL_STATE[154] <= 0 )); then

userdel -f roon

fi


UNINSTALLING_INDEX=156
if (( aSOFTWARE_INSTALL_STATE[$UNINSTALLING_INDEX] == -1 )); then

Expand Down

0 comments on commit adf4e61

Please sign in to comment.