3 SERVICE='suanzi-support.service'
6 echo 'Install suanzi-support'
7 cp suanzi-support /usr/local/bin/ || exit 1
9 echo "Install ${SERVICE}"
11 cp ${SERVICE} /lib/systemd/system || exit 1
12 systemctl enable ${SERVICE} || exit 1
14 echo "Start ${SERVICE}"
15 systemctl start ${SERVICE} || exit 1