Add support for Solus distribution to maintainer scripts (#7585)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user