Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I have an expect script named that interacts with another script ''. the script runs a vpn client so I need Upstart to automatically start it when my server reboots.

Currently I have an upstart job 'myjob.conf' on /etc/init/myjob.conf and what it does is just run The problem is that when I see the logs for /var/log/upstart/ex I see that, obviously, is being run every minute because the script finish running and starts again, but I don't need this becaus I only need to launch the vpn process once.

How can I fix this ?

share|improve this question

migrated from Apr 30 '14 at 5:27

This question came from our site for system and network administrators.

How does myjob.conf look like? – Cristian Ciupitu Apr 30 '14 at 5:26

1 Answer 1

up vote 1 down vote accepted

Remove the respawn line from myjob.conf.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.