You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unifi_ssl_import.sh depends on Ubuntu's service script, which is not available on Debian :
unifi_ssl_import.sh: line 102: service: command not found
Using the standard systemd command instead of service solves the issue.
To make unifi_ssl_import.sh work with vanilla Debian, I had to make the following changes :
Line 102 : /bin/systemctl stop "${UNIFI_SERVICE}"
Line 163 : /bin/systemctl start "${UNIFI_SERVICE}"
A better option would certainly be wrapping these lines in a variable depending on the operating system and returning the correct systemd/service command.
The text was updated successfully, but these errors were encountered:
unifi_ssl_import.sh depends on Ubuntu's
service
script, which is not available on Debian :unifi_ssl_import.sh: line 102: service: command not found
Using the standard
systemd
command instead ofservice
solves the issue.To make unifi_ssl_import.sh work with vanilla Debian, I had to make the following changes :
Line 102 :
/bin/systemctl stop "${UNIFI_SERVICE}"
Line 163 :
/bin/systemctl start "${UNIFI_SERVICE}"
A better option would certainly be wrapping these lines in a variable depending on the operating system and returning the correct systemd/service command.
The text was updated successfully, but these errors were encountered: