Questions tagged [upstart]
Questions specific to the "upstart" init system. Do not use for general init issues.
147 questions
1
vote
0
answers
102
views
RemainAfterExit in Upstart
Is there an Upstart equivalent to systemd's RemainAfterExit?
I have an upstart task that exec's a script that completes quickly when the task is started. However, I would still like that task to ...
0
votes
1
answer
60
views
What is wrong with my upstart job file?
I wrote a little script for upstart and included a log function in the executable file, but there is no log output. When starting the program manually, it works fine.
Here is the .conf file located in ...
0
votes
1
answer
1k
views
Ubuntu "service" command stuck, can't reload services
Using Ubuntu 16.04.6 LTS, it is not possible to call the service command to modify the status of any /etc/init/ services.
The command starts but is stuck in execution.
The services themselves are ...
1
vote
0
answers
97
views
What's causing initctl stop to fail?
I have an upstart process which terminates all child processes during post-stop:
post-stop exec killall my-process & exec sleep 10
This works as expected, however I'm unsure of the following two ...
-4
votes
1
answer
375
views
Ubuntu 18.04 startup questions regarding runlevels and *.wants directories
Is Ubuntu 18.04 using Upstart or systemd?
I know with the directories named Rc0.d Rc1.d Rc2.d ......Rc6.d. we can control runlevels in Ubuntu 18.04. But what is the difference between what they do, ...
5
votes
2
answers
3k
views
How to set up OpenVPN and Transmission to start at boot on CentOS 6?
I'm trying to set up Transmission with OpenVPN on a headless server running a minimal install of CentOS 6.10, and ideally these would start when I boot the system.
I'm able to get everything to run ...
1
vote
1
answer
1k
views
Linux Centos 7 Convert upstart script into systemd service
I have the upstart script below, how can I translate it into a systemd service ?
description "x11vnc"
start on runlevel [2345]
stop on runlevel [^2345]
#console log
respawn
respawn limit 20 5
...
0
votes
1
answer
136
views
keep upstart job running?
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 ...
0
votes
1
answer
490
views
Upstart Logrotate?
What's wrong with my config? I had to --force the logrotate a couple times to see changes, but the numbering is all wonky.
----@----------:/var/log/upstart# ls -Anh
total 4.0G
-rw-r----- ...
0
votes
1
answer
266
views
Create and Manage Upstart Services without Root Access
Is there anything like ~/.config/systemd/user/ and systemctl --user start ... for Upstart?
initctl --user ... required UPSTART_SESSION environment variable, looks like --user here has different ...
1
vote
0
answers
192
views
Upstart script with expect scripting
Please give me advices about expect scripting combined with an upstart script.
There are 3 scripts that I am dealing with right now.
Script A) Java program
PATH: /opt/~~/manager
Script B) ...
0
votes
0
answers
877
views
How can I install upstart on debian 9? [duplicate]
To demonize an app, I used to use upstart. I know it is discarded from debian packages, but I still need it as I can not make my app run using systemd.
Currently, when I try to install it I get:
# ...
0
votes
1
answer
4k
views
Package 'upstart' has no installation candidate
When I try to install upstart on Debian 9, I get :
# apt-get install upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package upstart is not ...
7
votes
1
answer
7k
views
linux mint "initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused [duplicate]
Getting error message at logon "session only lasted less than 10 seconds....", which apparently can be caused by multiple issues. My error is happening during the graphical logon.
I can login to the ...
2
votes
1
answer
1k
views
I don't have upstart installed on 16.04 but /etc/init has a bunch of .conf scripts in it. Why?
I'm trying to get a command to run on boot and wrote an upstart .conf file and put it into /etc/init. It's a brand new EC2 instance and theres was already bunch of .conf files there. My file wasn't ...