handling hostname avahi aliases
This commit is contained in:
@@ -326,7 +326,7 @@ ExecStart=/bin/bash -c "/usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' '
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl enable avahi-alias@$(hostname).local.service
|
systemctl enable avahi-alias@"$(hostname)".local.service
|
||||||
}
|
}
|
||||||
|
|
||||||
install_spectrogram_service() {
|
install_spectrogram_service() {
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ ExecStart=/bin/bash -c "/usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' '
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl enable avahi-alias@$(hostname).local.service
|
systemctl enable avahi-alias@"$(hostname)".local.service
|
||||||
}
|
}
|
||||||
|
|
||||||
install_spectrogram_service() {
|
install_spectrogram_service() {
|
||||||
|
|||||||
Reference in New Issue
Block a user