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
|
else
|
||||||
install_chkconfig
|
install_chkconfig
|
||||||
fi
|
fi
|
||||||
|
elif [[ "$NAME" = "Solus" ]]; then
|
||||||
|
# Solus logic
|
||||||
|
install_systemd /usr/lib/systemd/system/telegraf.service
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -59,5 +59,8 @@ elif [[ -f /etc/os-release ]]; then
|
||||||
# Amazon Linux logic
|
# Amazon Linux logic
|
||||||
disable_chkconfig
|
disable_chkconfig
|
||||||
fi
|
fi
|
||||||
|
elif [[ "$NAME" = "Solus" ]]; then
|
||||||
|
rm -f /etc/default/telegraf
|
||||||
|
disable_systemd /usr/lib/systemd/system/telegraf.service
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue