Syntax error of “;; unexpected” on simple init script for Debian

后端 未结 1 1297
野的像风
野的像风 2021-01-27 22:13

I have this init script to run uwsgi. It works, but only on the start command. All the other commands give me this error:

/etc/init.d/uwsgi: 27: /etc/init.d/uws         


        
相关标签:
1条回答
  • 2021-01-27 23:03

    Get rid of the esac keywords before the ;;s. There should only be one at the very end to match the initial case keyword.

    0 讨论(0)
提交回复
热议问题