Questions tagged [init.d]

The init.d directory contains a number of start/stop scripts for various services on a Linux system.

352 questions
2
votes
4 answers

Need init.d script for Python application

I have a python based application which works like a feed aggregator and needs to be part of init.d script so that I could control the execution with start/stop/restart options. Also I want the init.d script to be setup as a cron job (I have example…
user90150
2
votes
5 answers

Problem getting tomcat to start up on reboot

I'm having trouble getting tomcat to start I followed these instructions to get tomcat / apache2 running: http://www.mogilowski.net/?p=121 ...but tomcat fails to start on reboot. Here's the message from the log: Nov 30, 2009 6:59:53 PM…
user122299
2
votes
1 answer

Celeryd can't seem to find my Django project’s settings

I'm a celery noob at the moment, but trying to get started. I'm running Django 1.4 + django-celery + celery 3.0.21 with a redis storage backend. I can get a worker and celerybeat to run 'manually' via: python manage.py celery worker -E -B…
mkoistinen
  • 7,724
  • 3
  • 41
  • 56
2
votes
0 answers

Starting and stopping a daemon containing kernel threads

I want to run a c++ program that is using POSIX threads on openSUSE 12 as a daemon, and be able start, stop and restart it as a service with a normal init.d script based on this template: http://www.novell.com/coolsolutions/feature/15380.html. It…
Johan Lundquist
  • 571
  • 1
  • 5
  • 8
2
votes
2 answers

init.d script generator for ruby processes?

I have some ruby processes, and for development I've been using foreman to manage the processes, now in production I want to export the processes and run it in /etc/init.d directory. Is there any tool that can help with that, by creating the scripts…
Eki Eqbal
  • 5,779
  • 9
  • 47
  • 81
2
votes
2 answers

Init scripts for Twiggy-based PSGI apps

I'm looking for a way to manage several Twiggy instances listening on different ports via a simple config file and a standard interface. E.g. I want a config that looks like dog 5000 /www/psgi/dog.pl cow 5001 /www/psgi/holycow.pl # ... And a…
Dallaylaen
  • 5,268
  • 20
  • 34
2
votes
1 answer

dpkg remove to stop processes

I am currently running Ubuntu 12.04. I've created a debian package that currently installs successfully and starts three new processes. I have also made these three processes start at runtime by placing the following script inside /etc/init.d: #…
user1553248
  • 1,184
  • 2
  • 19
  • 33
2
votes
2 answers

init script hangs the complete system up

I wrote an init script to execute last that will start some pythjon script. The Python script will just run and never terminate and this makes my little linux box (getty terminal on tty) to just outpout the script but never the login prompt. I made…
stdcerr
  • 13,725
  • 25
  • 71
  • 128
2
votes
3 answers

Starting Jetty via launch script does not work

I have a problem with starting Jetty via the startup command /etc/init.d/jetty. When I execute the command the following output is generated: /etc/init.d/jetty start Starting Jetty servlet engine.: Jetty Rotate logs Jetty servlet engine started,…
Michael Stark
  • 635
  • 2
  • 9
  • 17
1
vote
1 answer

Bash command substution error

The code: `cat <(fgrep -i -v "$DAEMON_TEST" <(sudo -u asm crontab -l)) <(echo "$CRON") | sudo -u asm crontab -` The error: command substitution: line 46: syntax error near unexpected token `(' /etc/init.d/asm: command substitution: line 46: `cat…
HyderA
  • 20,651
  • 42
  • 112
  • 180
1
vote
1 answer

Automated start of a x-server and own service

I'm currently developing on a automated info-system which is based on a self-written node-service which is also starting a firefox. This system should run in ubuntu without any controlling of anyone. My current problems are lying in the autostart of…
moe
  • 133
  • 1
  • 1
  • 9
1
vote
1 answer

init.d script for OpenXCAP on CentOS 6

I'm somewhat new to Linux and OpenXCAP and I'm trying to make an init.d script for OpenXCAP on CentOS 6. My script can start and stop OpenXCAP service, but it returns this error for the status command (service openxcap status): openxcap dead but…
kalabic
  • 11
  • 1
1
vote
0 answers

Close starting service after opkg package install

I'm installing .ipk package with opkg. After that, this package starts his procd service in /etc/init.d/. What I want the procd service don't start after the package install.
Jozeph
  • 21
  • 1
  • 3
1
vote
2 answers

Output standard OK / FAILED messages from custom init.d script

I have a few questions regarding an init script I'm writing. I haven't actually done it from scratch before so there are probably several tips and tricks I don't know about. Also, shell script is not something I have used a lot so the syntax took a…
inquam
  • 12,664
  • 15
  • 61
  • 101
1
vote
1 answer

Gradle still downloads dependencies already available in local repo

I have set gradle up to use a local maven repository (gmaven_stable file) using the "offline.gradle" file method in the ".gradle\init.d" directory. I constantly update the local maven repo with already downloaded files in the gradle dependency cache…