Correct units linking
This commit is contained in:
parent
c804bd4994
commit
17d9a5cedc
3
setup.sh
3
setup.sh
@ -49,7 +49,8 @@ get_conf() {
|
|||||||
set_conf() {
|
set_conf() {
|
||||||
echo "Setting configuration"
|
echo "Setting configuration"
|
||||||
ln -s $sync_directory_path/*.service $systemd_units_path/
|
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 daemon-reload
|
||||||
systemctl enable conf-sync.timer mpd.service upmpdcli.service restart-upmpdcli.timer
|
systemctl enable conf-sync.timer mpd.service upmpdcli.service restart-upmpdcli.timer
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user