How to run a user’s private script at startup in Ubuntu with upstart

For security reasons I created a non-sudo user (userX) with an encrypted home, where root has no access. With it, I can install my python program in a client’s server and be sure no one will be able to read it.

After startup I would like to run this python program/service located in userX’s directory.

Up until now, I have achieved this by using CRON but I would like to switch to Upstart, because the workaround is not pleasing me.

Is it possible to achieve this with Upstart?


Source: linux

Leave a Reply