Tagged Questions
3
votes
3answers
449 views
linux launch script /etc/init with a specific user
I've created a script in /etc/init/mms-agent.conf :
start on runlevel [2345]
stop on runlevel [06]
exec /usr/bin/env python /home/mms/mms-agent/agent.py >> /home/mms/agent.log 2>&1
...