Use systemctl instead of service

This commit is contained in:
Wojciech Kozlowski 2019-11-02 23:26:36 +00:00
parent 44829e391e
commit e9926f7a02

View File

@ -57,7 +57,7 @@ function server_start {
echo -e "${CYAN}[${SCRIPT}] Restart loki-server ${NC}"
service loki-server start
systemctl start loki-server
}
@ -69,7 +69,7 @@ function server_stop {
echo -e "${CYAN}[${SCRIPT}] Stop loki-server ${NC}"
service loki-server stop
systemctl stop loki-server
}