Add support for Solus distribution to maintainer scripts (#7585)
This commit is contained in:
parent
af8093e00e
commit
aa8cefedda
|
@ -101,5 +101,8 @@ elif [[ -f /etc/os-release ]]; then
|
|||
else
|
||||
install_chkconfig
|
||||
fi
|
||||
elif [[ "$NAME" = "Solus" ]]; then
|
||||
# Solus logic
|
||||
install_systemd /usr/lib/systemd/system/telegraf.service
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -59,5 +59,8 @@ elif [[ -f /etc/os-release ]]; then
|
|||
# Amazon Linux logic
|
||||
disable_chkconfig
|
||||
fi
|
||||
elif [[ "$NAME" = "Solus" ]]; then
|
||||
rm -f /etc/default/telegraf
|
||||
disable_systemd /usr/lib/systemd/system/telegraf.service
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue