When i run below UpStart job, UpStart job automatically stop when script ends. Is there any way to keep it running until i run initctl stop testjob. Like we use RemainAfterExit=yes in Systemd and it keeps service running until we stop it.

description "Test Job"
author "Test Author"
start on runlevel [2345]

exec /test/script.sh

1 Answer 1


Use pre-start exec /test/script.sh rather than just exec.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .