restart http service and mariadb code example Example: ubuntu restart mariadb systemctl start mariadb systemctl stop mariadb systemctl restart mariadb