I used the init.d skeleton template to create an init.d script that starts up a basic java process. When I run my init.d script, the process starts up and works fine. The only problem is that the process doesn't produce the required log files while it's running.
I needed to start a python program in background i.e daemonize it,so I wrote a init script for this purpose.But the problem is that whenever I write the command
sudo start service solon_server(name of script)
the program runs but the init script doesn't return.
I installed Postgresql 8.4 on my VPS with Ubuntu 10.04. Default setup, nothing unusual. After the installation the dbserver is automatically started and is running great. The installer also sets a init.d script in place.
This script however, doesn't seem to affect Postgres.
$ sudo /etc/init.d/postgresql stop
The above line is not stopping the server.
I successfully installed a script to automatically launch in /etc/init.d on my new Raspberry Pi.
Unfortunately, it is a node.js app that never returns, and therefore hangs the device during boot (this is on Debian). Yes, I'm an idiot.
Is there a secret handshake I can do during boot to prevent it from running my init.d script so I can get to login and a shell to fix it?
I successfully installed a script to automatically launch in /etc/init.d on my new Raspberry Pi.
Unfortunately, it is a node.js app that never returns, and therefore hangs the device during boot (this is on Debian). Yes, I'm an idiot.
Is there a secret handshake I can do during boot to prevent it from running my init.d script so I can get to login and a shell to fix it?
Since F18 switched to systemd, are startup scripts still the same? By this I mean shouldn't I be able to create a script in /etc/init.d/WhateverFileNameIWant and have it run at boot? If so, I think something is broken.
Hi all, im pretty new to unit/redhat 6.2
I am trying to load a script upon startup of my redhat 6.2
(instance in ec2 AWS if someone cares)
I want everytime when instance starts (after stop/reboot) a script i build to launch.
Hi everyone,
I would like to run a script at startup.
I put the script in the /etc/init.d folder, but it does not get called.
I think I have to register it somehow (modprobe maybe?) but I can't remember how to do that.
Any suggestions?
Here's the script (it's just to turn off the very very very annoying ambient light sensor of my laptop)
I am running Atlassian JIRA on Ubuntu 12.04 LTS (Precise Pangolin). I would like to automatically start JIRA whenever the system boots. For this purpose, I created script jira in /etc/init.d, similar to the one described in Atlassian's Wiki.
I can manually start / stop JIRA by calling /etc/init.d/jira accordingly. However, JIRA does not start during the boot process.