11 lines
184 B
Bash
11 lines
184 B
Bash
#!/bin/bash
|
|
service="${1}"
|
|
|
|
if [[ "x${service}" == "x" ]]; then
|
|
echo "usage: ${0} <service>"
|
|
echo "example: ${0} proxysql"
|
|
exit 1
|
|
fi
|
|
|
|
systemctl restart sunet-"${service}".service
|