Questions tagged [startup-scripts]

121 questions
0
votes
1 answer

Windows Server 2012 R2 logon sctips via GPO: run on every logon/connection?

Windows Server 2012 R2, non domain attached, running in VMWare workstation 9.x I would like to run a logon script to startup/resize BG Info. I have made the *.bat file, and it runs fine. I am new to logon scripts in general, so I'm sure I'm…
0
votes
1 answer

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 server are the same and I mean the same at content…
ReynierPM
  • 700
  • 5
  • 14
  • 28
0
votes
1 answer

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 have customized an Ubuntu image, and now looking…
SyRenity
  • 3,159
  • 11
  • 55
  • 79
0
votes
0 answers

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 and then manually restarted. Is there a "standard",…
Grodriguez
  • 242
  • 1
  • 2
  • 15
0
votes
1 answer

File Location of mysql startup script on Ubuntu

When we run a command as "service mysql start" [OR] "/etc/init.d/mysql start", The mysql daemon it starts. Who is providing the job mysql to start to those commands? What is the startup script file informing to the service command to start mysql…
user27
  • 103
  • 2
0
votes
1 answer

Startup Script Launch IE Browser

how to launch a startup script (batch file or VBS or PowerShell) that will open a browser on startup? I want to deploy this using GPO, i'm only able to achieve this by using logon script, but if used the script on startup it doesn't seem to…
JJJCR
  • 1
0
votes
2 answers

Can memcache invoke a script to reload itself after startup on Ubuntu?

Since memcache stores everything in ram, it will lose its store after a node recovers from failure. Does memcache offer a hook to invoke a script after it starts up? We want that script to do "something", either hit an external service, etc., to…
SAFX
  • 121
  • 1
  • 9
0
votes
2 answers

LSB confirm startup script won't start apache tomcat on ubuntu

I want to start my tomcat server automatically on startup. Therefore I retrieved a simple LSB conform script from the net and modified it to my needs. This is the script: # Provide logging functions like log_success_msg, log_failure_msg and…
toom
  • 187
  • 1
  • 4
  • 11
0
votes
1 answer

Startup script on one server only in Amazon EC2

Right now I have a setup with a load balancer that starts new instances of a server (debian) if needed be on the Amazon EC2 cloud. On this setup I have a script that needs to be running on only one of these servers. Having multiple snapshots could…
0
votes
2 answers

Startup services are not getting started in CENTOS

I deployed my project on a Shared Hosting that has Root access the Server in picture is CENTOS now although I have defined the service to start on boot it not getting started chkconfig --level 35 thin.startup on chkconfig --list | grep…
Viren
  • 171
  • 1
  • 2
  • 10
0
votes
1 answer

init is the parent for a script: how can I find what initially launched the script?

The box in question is RHEL/CentOS 5.5 x86_64. It has been up for 80+ days. A custom watchdog script exists on the server which performs a variety of tasks and this particular script accepts a few arguments. When one of my users on the box runs the…
beaconfield
  • 123
  • 1
  • 1
  • 7
0
votes
3 answers

Chroot on startup

I have a script that runs on startup, but it wont launch a application in chroot. #!/bin/sh /usr/sbin/chroot /root/chrootdir/ /bin/sh -c "lighttpd -f /etc/lighttpd.conf -m /lib" echo "script activated" >> /log/www.log the log file is…
Maidenone
  • 103
  • 1
  • 6
0
votes
1 answer

Login/Startup Scripts Not working

My test network setup is as follows. A Windows 2008 R2 Server acting as a DC (AD, DNS, DHCP) it is on its own vlan (10.20.99.0/24). I then Have two XP test computers each on there own vlan (10.20.98.0/24 and 10.20.97.0/24). For the vlans with the…
0
votes
3 answers

unrealircd run at boot

I have UnrealIRCD installed on my CentOS server. I'm not too familiar with startup scripts, so I'm wondering if it's possible to have it start when the vps starts up, or if it crashes, as well as start the Anope services, too. Thanks.
Spencer
  • 1
  • 1
  • 1
0
votes
2 answers

What are best practices writing parallel startup scripts in Unix shell (ksh,bash)?

I have a piece of software with different components running on the same Unix machine (web server, DBMS, middleware, different daemons). Startup of the few components depends on the success of the start of the previous ones (like DBMS). Some of the…
1 2 3
8 9