0
votes
0answers
20 views

Ubuntu Trusty Preseed Error

I have a preseed file that installs Trusty but the install is giving me this error: Jul 22 17:52:42 in-target: Setting up sysv-rc (2.88dsf-41+deb7u1) ... Jul 22 17:52:42 in-target: info: Reordering ...
2
votes
1answer
71 views

How to schedule initial configuration of a system after cloning?

I want to setup a big amount of servers using cloning. After the initial image was applied, I want to run a configuration script. The cloning will be done through hard disk replication by the hardware ...
1
vote
2answers
178 views

Distro agnostic init script dependencies

I'm trying to write an init script which will be able to handle basic dependencies (for example, It has to be started (just) before MySQL service starts). Is there a distro agnostic way to write such ...
6
votes
1answer
3k views

How can I make this daemon/init run as a non root user?

I have an init script to kick off a daemon. The problem is it runs as root. I would like it to run as a user called "deploy". Ubuntu 12.04 #! /bin/sh # File: /etc/init.d/unicorn ### BEGIN INIT ...
2
votes
3answers
438 views

How do I determine whether my services are using runit or init?

How do I determine whether my services are using runit or init? I use Ubuntu 10.0.4. Such as nginx, chef, puppet, etc.
1
vote
1answer
538 views

Running script before shutdown seemingly not working

I created a small script backup_files.sh and placed it in /etc/init.d: #/bin/sh logfile=/media/verbatim/log date >> $logfile rsync -av /home/philipp/Documents /media/verbatim/ >> $logfile ...
2
votes
1answer
123 views

how can 'init' and 'service' command can cross normal-user life?

i'm just moved to linux world in ubuntu 10.10. i'm using it for normal life, internet and social networks, multimedia enterainement like musics and movie, a bit of coding with c and python.. i've ...
10
votes
2answers
537 views

Removing abstraction from Ubuntu boot process

I have been using Linux after almost 5 years and observed that boot process has been almost abstracted. I mean, not much is visible to the user what is going on behind the scenes (Due to splash ...
7
votes
3answers
4k views

/etc/rc.d vs /etc/init.d

Is ubuntu's /etc/init.d directory exactly equivalent (functionally) to what I presume to be the more standard /etc/rc.d/ (at least on arch)? Is there any particular reason canonical used init.d ...
2
votes
5answers
5k views

Create directory in /var/run/ at startup

I'm using apache2 and postgres running on Ubuntu Server 10.04. I have removed the startup scripts for both of these apps and I'm using supervisor to monitor and control them. The problem I have run ...
18
votes
7answers
23k views

Create services in Linux (Start up in linux)

I need one process run before log in to system. how to run it like services?(how do I make services in Linux?) in Ubuntu and Fedora ? the service is customized tomcat