08-19-2016
What operating system are you using?
What shell are you using?
And, what are you trying to start with your startup script?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
New in Unix, I am adding a line "route add 57.14.y.y 57.14.x.x" every day after rebooting the system. Where can I add the line so during boot up (the system is re-started every day by design (???) the line is executed? (I tried the /etc/rc2.d/S90 but for some reason the line needs to be added... (2 Replies)
Discussion started by: texaspanama
2 Replies
2. AIX
Guy's
What the exact steps to mention for example this script /usr/start/start.sh
to be as start up script , I want it to be automatically started when I reboot the server . (8 Replies)
Discussion started by: ITHelper
8 Replies
3. UNIX for Dummies Questions & Answers
Hello there!
I need help.
Everytime I login to my ssh, i see this:
-bash: .export: command not found
-bash: .export: command not found
-bash: .export: command not found
-bash: .export: command not found
any help ?
thanks (0 Replies)
Discussion started by: fbauto1
0 Replies
4. Solaris
Hi All,
O/S: Solaris 5.10
Software installed :-
Oracle 10G
Weblogic 10.30
the problem i face that
when the server restart for any reason
SQL> exit
bash-3.00# sqlplus sys/manchester as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun May 2 11:04:50 2010
Copyright (c)... (3 Replies)
Discussion started by: xxmasrawy
3 Replies
5. AIX
Hi
I need the below script to be started whenever I reboot my aix server ?
#cat cdbegin
/cdirect/cdunix/ndm/bin/cdpmgr -i /cdirect/cdunix/ndm/cfg/cbspsdb01/initparm.cfg
Please suggest how to add this to the startup ? (2 Replies)
Discussion started by: samsungsamsung
2 Replies
6. Red Hat
Hi, I am using scientific linux with is a red hat cloning.
I have written a script and I want it to be run during startup before the user log in.
How do I do that?
I know that there is some connection to the run level and the directory /etc/rc.d.
But I don't know how exactly to do it ?... (4 Replies)
Discussion started by: programAngel
4 Replies
7. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
8. Shell Programming and Scripting
The attached file is a copy of my rc.local. The rc.local script appears to execute as the tightvncserver gets started. However the nodemon process does not start. The element nodemon is a symlink to nodemon and the path is correct.
I have a little start script located in the... (3 Replies)
Discussion started by: barrygordon
3 Replies
9. UNIX for Advanced & Expert Users
I am having check.sh script and check.service which I include to /etc/systemd/system/
chmod 744 /usr/local/bin/check.sh
chmod 664 /etc/systemd/system/check.service
systemctl daemon-reload
systemctl enable check.servicecheck.sh:
websockify 5555 localhost:7000 &
date >... (9 Replies)
Discussion started by: tomislav91
9 Replies
LEARN ABOUT OPENSOLARIS
systemd-debug-generator
SYSTEMD-DEBUG-GENERATOR(8) systemd-debug-generator SYSTEMD-DEBUG-GENERATOR(8)
NAME
systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific units at boot
SYNOPSIS
/lib/systemd/system-generators/systemd-debug-generator
DESCRIPTION
systemd-debug-generator is a generator that reads the kernel command line and understands three options:
If the systemd.mask= option is specified and followed by a unit name, this unit is masked for the runtime, similar to the effect of
systemctl(1)'s mask command. This is useful to boot with certain units removed from the initial boot transaction for debugging system
startup. May be specified more than once.
If the systemd.wants= option is specified and followed by a unit name, a start job for this unit is added to the initial transaction. This
is useful to start one or more additional units at boot. May be specified more than once.
If the systemd.debug_shell option is specified, the debug shell service "debug-shell.service" is pulled into the boot transaction. It will
spawn a debug shell on tty9 during early system startup. Note that the shell may also be turned on persistently by enabling it with
systemctl(1)'s enable command.
systemd-debug-generator implements systemd.generator(7).
SEE ALSO
systemd(1), systemctl(1), kernel-command-line(7)
systemd 237 SYSTEMD-DEBUG-GENERATOR(8)