I've created a fotoshare.conf named file and put it to /etc/init/apps/ my daemon starts if N9 boots up, BUT it's not started as user nor root, it's started by "nobody"!?
This is grep:
The problem is the following, I want to be able to kill the daemon with "kill <pid>", but user is not permitted to do that, cause it was started by "nobody".
~ $ ps aux | grep foto
2233 nobody -sh -c /opt/FotoShareN9/fotoshare_service
2239 nobody python /opt/FotoShareN9/fotoshare_service
2392 user grep foto
My *.conf start code:
And "fotoshare_service" is written in Python!
exec /usr/bin/aegis-exec -s -u user -l /opt/FotoShareN9/fotoshare_service