Ubuntu Upstart无法启动权限被拒绝

时间:2016-04-12 14:41:47

标签: python ubuntu permissions upstart

我有一个python应用程序,我试图通过一个upstart脚本运行。这是我的conf文件

start: Job failed to start

我可以从命令行以用户身份运行应用程序,但尝试启动此新手启动脚本失败并显示/var/log/syslog

查看localhost kernel: init: Failed to spawn myapp main process: unable to execute: Permission denied 显示:

{{1}}

此问题与此处描述的问题非常相似:https://unix.stackexchange.com/questions/65662/upstart-job-as-unprivileged-user-fails-with-permission-denied

感谢所有帮助,谢谢!

1 个答案:

答案 0 :(得分:0)

我弄清楚我做错了什么......

exec . bin/runapp必须为exec ./bin/runapp