aboutsummaryrefslogtreecommitdiff
path: root/board/mpd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpd.sh')
-rw-r--r--board/mpd.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/mpd.sh b/board/mpd.sh
index d99161c..319d7a2 100644
--- a/board/mpd.sh
+++ b/board/mpd.sh
@@ -59,7 +59,8 @@ WantedBy=multi-user.target
__EOF__
# Create the link to the system configuration
-ln -sf /etc/systemd/system/playlists.service "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/playlists.service"
+#ln -sf /etc/systemd/system/playlists.service "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/playlists.service"
+enable_service "playlists.service"
cat << __EOF__ > "${TARGET_DIR}/etc/systemd/system/rss_playlists.service"
[Unit]
@@ -89,6 +90,5 @@ RandomizedDelaySec=15m
WantedBy=timers.target
__EOF__
-ln -sf /etc/systemd/system/rss_playlists.service "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/rss_playlists.service"
-
-ln -sf /etc/systemd/system/rss_playlists.timer "${TARGET_DIR}/usr/lib/systemd/system/multi-user.target.wants/rss_playlists.timer"
+enable_service "rss_playlists.service"
+enable_service "rss_playlists.timer"