Skip to content

Commit

Permalink
v6.26
Browse files Browse the repository at this point in the history
+ DietPi-Patch | myMPD: Move systemd unit to new location (matching current release) and do not start as "dietpi" group anymore, which is only required for software titles that write media files: #3097
  • Loading branch information
MichaIng authored Sep 15, 2019
1 parent 9d4e03a commit 5ed5dd2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -2235,6 +2235,19 @@ Do you want to keep PulseAudio installed?' || apt-mark auto pulseaudio
G_AGA
G_AGI --reinstall aml-libs-odroid mali450-odroid libump-odroid xf86-video-fbturbo-odroid

fi
# myMPD: https://github.com/MichaIng/DietPi/pull/3110
if grep -q '^aSOFTWARE_INSTALL_STATE\[148\]=2' /DietPi/dietpi/.installed; then

if [[ -f '/usr/lib/systemd/system/mympd.service' ]]; then

mv /usr/lib/systemd/system/mympd.service /lib/systemd/system/mympd.service
systemctl daemon-reload

fi
[[ -f '/etc/systemd/systemd/mympd.service.d/dietpi-group.conf' ]] && rm /etc/systemd/systemd/mympd.service.d/dietpi-group.conf
rmdir --ignore-fail-on-non-empty /etc/systemd/systemd/mympd.service.d

fi
# Webmin: https://github.com/MichaIng/DietPi/commit/ec55d49a488fd9cb1dbb18cbfa067b5d1d1a974e
/DietPi/dietpi/dietpi-software reinstall 115
Expand Down

0 comments on commit 5ed5dd2

Please sign in to comment.