I am trying to export my application to another process management format/system (specifically, upstart). In doing so, I have come across a number of roadblocks, mostly due to lacking documentation.
As a non-root user, I ran the following command (as shown here):
-bash> foreman export upstart /etc/init
ERROR: Could not create: /etc/init
I “could not create” the directory due to inadequate permissions, so I used sudo:
-bash> sudo foreman export upstart /etc/init
Password:
ERROR: Could not chown /var/log/app to app
I “could not chown… to app” because there is no user named app.
Where is app coming from?
How should I use forman to export to upstart?
appis default for both the name of the app and the name of the user the application should be run as when the corresponding options (--appand--user) are not used. See the foreman man page for the available options, but note that at the time of this writing the official synopsis did not include [options]:Example:
Result: