Correct units linking

This commit is contained in:
Alexandre CATTEAU 2021-11-20 16:11:51 +01:00
parent c804bd4994
commit 17d9a5cedc

View File

@ -49,7 +49,8 @@ get_conf() {
set_conf() {
echo "Setting configuration"
ln -s $sync_directory_path/*.service $systemd_units_path/
ln -s $sync_directory_path/*.timer $systemd_units_path/
ln -s $sync_directory_path/conf-sync-server.timer $systemd_units_path/conf-sync.timer
ln -s $sync_directory_path/restart-upmpdcli.timer $systemd_units_path/
systemctl daemon-reload
systemctl enable conf-sync.timer mpd.service upmpdcli.service restart-upmpdcli.timer
}