The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
3answers
123 views

Run a script when joining a domain

I have a Microsoft domain (mostly 2008r2\7). I looking for a way to run a script immediately after (the restart after) joining a domain (without requiring user login), and so far I've failed. Also, I ...
2
votes
1answer
1k views

Starting a service only after another one is completely started (on CentOS)

I have installed on my CentOS server postgresql service and another one called netnfork. The 'netnfork' service starts only after postgresql starts. netnfork init script: #!/bin/sh # # netnfork init ...
1
vote
1answer
107 views

Run script when Varnish starts

I'd like to run a script when Varnish starts. This script should execute a webrequest to a webserver (its backend), which then makes sure Varnish's cache gets filled with all pages residing on this ...
1
vote
1answer
636 views

Permanently change hostname of Debian Squeeze virtual server

I have a virtual server running Debian Squeeze. I can change the hostname by running the hostname new.host.name command or by editing /etc/hostname and then running /etc/init.d/hostname.sh, but after ...
0
votes
1answer
29 views

Copying blobs to Azure customized VM's on boot

As I'm looking to take advantage of the SSD disks offering (D type in Azure), I understood that the only way to use them, is to copy the data to attached SSD disks from external storage like blob. I ...
2
votes
0answers
348 views

Is it possible to embed TCL directly into a Cisco startup-config?

Is it possible to embed TCL directly into a Cisco startup-config? From the (lack of) information I'm finding, it doesn't look do-able. I have a tool that generates Cisco configurations based on some ...
1
vote
0answers
10 views

Start a script on ganeti node after instance is started or migrated

There is a ganeti cluster. Is there any way to run script on ganeti node after some instance is start running on that node? In both situations - starting from scratch, and migrating live from another ...
1
vote
0answers
217 views

“Please Wait” When running startup script, only on Windows 8.1

I have a startup script and I have been testing it on 3 different virtual machines. These machines are running different versions of Windows(7, 8, and 8.1). They all have the same Group Policy applied ...
1
vote
0answers
640 views

Reconnect Windows Network Drive after network connection has been established

User uses a piece of software (simple database and front end app) that connects to a database stored on another workstation, by way of mapped drive. This mode of access is supported by the software ...
1
vote
0answers
1k views

postgres not starting after reboot on ubuntu

I'm not familiar with ubuntu (raring), so could someone help me please: I'm using postgresql 9.1 from apt. It installed the appropriate init script in /etc/init.d/postgresql. I can start the server ...
0
votes
0answers
200 views

upstart CentOS vs upstart Ubuntu is there any difference between them?

I'm moving some server configurations from Ubuntu Server 12.04 to CentOS 6.6. Now I'm working on /etc/init script that should be handled by upstart at both OS as far as I know. The files on both ...
0
votes
0answers
46 views

Mounting network drive after network is ready

I'm trying to mount a samba network share to a local directory on startup. The following line in /etc/fstab works fine when I run mount -a: //share/folder /media/folder cifs ...
0
votes
0answers
193 views

Why doesn't socat running from init.d create a port successfully?

Running the following command in the terminal is successful: sudo socat pty,link=/dev/serial.192.168.0.10.pos,nonblock,raw,echo=0,user=web-server tcp:192.168.0.10:999 This creates a serial port > ...
0
votes
0answers
28 views

sysv init scripts — differentiate between first run (boot) and subsequent runs

Normally sysv init scripts are run at boot time (from /etc/init.d/rcS) with the 'start' argument. However they can also be invoked with the 'start' after boot, for exmaple when a service is stopped ...