Questions tagged [startupscript]

158 questions
0
votes
1 answer

Is there a working rc-script for Celery on FreeBSD?

I have hacked together an rc script for celeryd on FreeBSD, but I can't help but think that there must be a better way. celeryd does not daemonize itself, and it seems to have a hard time responding to sigterm as well, so it might be complicated to…
Chris R
  • 17,546
  • 23
  • 105
  • 172
0
votes
2 answers

Xamarin Studio - How to change startup code?

Is there a way to change the startup code in Xamarin Studio? It's starting to bother me the startup code, I don't need most of the code Xamarin Studio 6.0.2 Change from this: namespace App2 { [Activity(MainLauncher = true, Icon =…
NAYIR55
  • 105
  • 5
  • 17
0
votes
1 answer

Echoing password to command with rc.local

We have a command to handle the joining of our RHEL7 servers to Privilege Manager for Sudo that is not working when ran from the rc.local script. The command is below with more generic names instead of our specific assets. echo "password" |…
Sadadar
  • 13
  • 3
0
votes
1 answer

How to run a command in .sh file during startup for Intel Edison?

As there is no rc.local file in Intel Edison, how do I run a command in a .sh file during startup? I'm running iwconfig wlan0 | grep -E -o ".{0,1}-.{0,6} |.{0,4}Mb/s.{0,3}|.{0,3}/70.{0,0}" and want it to execute during every startup and save it into…
JACK
  • 17
  • 6
0
votes
0 answers

timer for shell startup script

I am instanciating a machine on the cloud with a startup shell script (on ubuntu) which basically download some config files and run a python script. I would like to include some kind of security on the startup script which should reboot the machine…
sweeeeeet
  • 1,769
  • 4
  • 26
  • 50
0
votes
2 answers

Azure cloud service startup task not running

I'm trying to deploy an azure cloud service web role, a simple app to test connecting to Hive via odbc. In order to do so, I need to install the hive odbc driver on the machine before I launch the app, which is why I've added a startup task that…
nieve
  • 4,601
  • 3
  • 20
  • 26
0
votes
2 answers

Running Cassandra as a service on OpenSuse

I am trying to run Cassandra as a service on OpenSuse (Leap 42.1). I have tried installing with apache-cassandra-2.1.11-bin.tar.gz and then copying /etc/init.d/cassandra from https://gist.github.com/sgomezvillamor/5458309. However, the startup…
Hannu
  • 11
  • 3
0
votes
1 answer

Sonarqube 5.1.2 native package on RHEL6 won't start without root

I have recently installed the native RPM package of Sonarqube 5.1.2 on my RHEL 6.6 server. I'm using 64 bit OpenJDK 1.8.0_51 and MySQL as DB. Sonarqube starts up perfectly with root using the sonar.sh script in /bin within the installation folder…
Dzsoda
  • 1
0
votes
2 answers

Deleting email automatically

The Problem: I'm looking for a way to create a program that visits an email host site and log in with a specific credentials and deletes all message at the Inbox and clears the Trash folder. Background: I have an email with my domain and that email…
LmSNe
  • 143
  • 1
  • 9
0
votes
0 answers

LSBized Init Script stops after aprox. 4minutes

I have made an LSBized Init Script, that runs some script at boot, and than restarts the script if it has been killed or closed. At first everything looks fine, but after few minutes the init script stops, the other script keeps running. I get this…
Jure Špik
  • 331
  • 2
  • 11
0
votes
1 answer

Script to disable/enable Network Connection

I am rebuilding an old Toshiba laptop for my kid to play on to see if it is worth buying something decent come Christmas; e.g. I'm looking for zero cost solutions, no hardware upgrades. The network adapter in incompatible with windows 8.1 such that…
Panda
  • 31
  • 1
  • 2
0
votes
1 answer

Google compute engine - how do I mount disk before init scripts that start applications run

I have a google-startup-script that mounts disk on boot or restart. Unfortunately google-startup-scripts run last during the boot process, at the very end of the BSD init system. As a result, my wildfly server application in /etc/init.d starts…
Rodgers Andati
  • 121
  • 1
  • 11
0
votes
1 answer

Azure startup tasks not always firing

Working with a WorkerRole, I have two startup tasks that are defined. In the first one, firewall rules, cygwin download and install and calling powershell scripts is executed from a .cmd file. The problem I am seeing, is that "sometimes", it is not…
mickyjtwin
  • 4,960
  • 13
  • 58
  • 77
0
votes
2 answers

create a bat script to set network directory as a drive(let's say S:) and then calling a bat script within the set directory(somewhere in S)

I run into problems with VM's where i have to manually startup the jobs everytime after the reboot. I would like a startup bat script to perform the following everytime upon system reboot- set a network drive as drive s: (something like what i…
war10ck
  • 103
  • 1
  • 1
  • 8
0
votes
0 answers

Startup script for non bash shell

I have a user defined shell for CLI which i had set for some users. Is there a way to start a script for this user who has non-bash (or non-system specific) shell, while logging in. I tried adding some code in /etc/profile. no luck. I tried putting…
John
  • 2,035
  • 13
  • 35
  • 44