09-30-2005
loading custom app at startup
how would I set up a custom application to startup at boot up. Also where would I look to see what application already startup. I don't mean the /etc/rc.d/.... directory. I need to see all the custom applications that are not part of the linux environment.
Thank you.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Folks!
I am a Mac OS X user, and have written an Applescript application that I would like it to be run before the user logs in.
I have tryed leaving the Mac on the "Login Screen", that screen just before you log in typing name and password, and logging using ssh from another Mac on the... (0 Replies)
Discussion started by: fundidor
0 Replies
2. Shell Programming and Scripting
(0 Replies)
Discussion started by: goldfish
0 Replies
3. Shell Programming and Scripting
Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ...
thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
1 Replies
4. Shell Programming and Scripting
I have an rsync command that I want to create a variable where user can change to customize the parameters.
complete rsync command to run:
$RSYNC -e 'ssh -ax -o ClearAllForwardings=yes' --log-file=$LOG_FILE --delete -avzcr -u --update $SRC_DIR $USER@$TRG_SRV:$TRG_DIR >> $LOG_FILE
What I... (4 Replies)
Discussion started by: abubin
4 Replies
5. Shell Programming and Scripting
I have a jump off server, which grants SSH access to a few other servers.
I would like to create a custom shell which can be assigned to specific user accounts which runs a menu script upon login, where they can select which server they want to jump too, however should they hit ctrl-c or any... (1 Reply)
Discussion started by: JayC89
1 Replies
6. 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
7. UNIX for Dummies Questions & Answers
Hi everyone,
I have a problem but I have never installed a separate OS before so my lingo and understanding may not be as good as some of you. I will try and explain my problem best I can. I am trying to instead of loading Windows 7 when my computer starts up, for it to start linux specifically... (2 Replies)
Discussion started by: markhow30
2 Replies
8. Shell Programming and Scripting
Hi All,
Am getting the raw report from the source and need to prepare the custom report as per the requirement.
Requirement keep getting change according to the need.
Raw data is as below
/* ----------------- test_job_hu ----------------- */
insert_job: test_job_hu job_type: CMD... (4 Replies)
Discussion started by: pradeep84in
4 Replies
9. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT OPENDARWIN
systemstarter
SystemStarter(8) BSD System Manager's Manual SystemStarter(8)
NAME
SystemStarter -- Start, stop, and restart system services
SYNOPSIS
SystemStarter [-gvxdDqn] [action [service]]
DESCRIPTION
The SystemStarter utility may be used to start, stop, and restart the system services which are described in the /Library/StartupItems/ and
/System/Library/StartupItems/ paths.
The optional action argument specifies which action SystemStarter performs on the startup items. The optional service argument specifies
which startup items to perform the action on. If no service is specified, all startup items will be acted on; otherwise, only the item pro-
viding the service, any items it requires, or any items that depend on it will be acted on.
During boot SystemStarter is invoked by rc (see rc(8)) and is responsible for starting all startup items in an order that satisfies each
item's requirements.
ACTIONS
start start all items, or start the item that provides the specified service and all items providing services it requires.
stop stop all items, or stop the item that provides the specified service and all items that depend on it.
restart restart all items, or restart the item providing the specified service.
OPTIONS
-g graphical startup
-v verbose (text mode) startup
-x safe mode startup (only run Apple-provided items)
-r keep running after last startup item completes, in graphical startup only
-d print debugging output
-D print debugging output and dependencies
-q be quiet (disable debugging output)
-n don't actually perform action on items (no-run mode)
NOTES
Unless an explicit call to ConsoleMessage is made, SystemStarter examines the exit status of the startup item scripts to determine the suc-
cess or failure of the services provided by that script.
In Darwin it is preferable to create custom startup items than to modify rc, and at some point SystemStarter may entirely encompass the role
of rc.
FILES
/Library/StartupItems/ User-installed startup items.
/System/Library/StartupItems/ System-provided startup items.
SEE ALSO
ConsoleMessage(8)
rc(8)
http://www.opensource.apple.com/projects/documentation/howto/html/SystemStarter_HOWTO.html
HISTORY
The SystemStarter utility appeared in Darwin 1.0
SystemStarter was extended in Darwin 6.0 to support partial startup and interprocess communication.
Darwin April 12, 2002 Darwin