Problems with StartupItems
Problems with StartupItems
- Subject: Problems with StartupItems
- From: "Filippo Ignozza" <email@hidden>
- Date: Thu, 18 Jan 2007 10:52:50 +0100
- Organization: Digital Video S.p.a.
- Priority: normal
I need to run an application at startup.
I am having several difficulties so i tried as a first step to just run a script
For this reason i create an installer who create in /Library/StartupItems
the following:
a directory named Create
inside it
a script named Create
this is the script contenyt
--------------------------
#!/bin/sh
##
# Start Aladdin USB daemon
##
echo "Starting Create trial daemon"
touch testfile.txt
---------------
and a file named StartupParameters.plist
-------------
{
Description = "Create service";
Provides = ("Create Service");
OrderPreference = "Late";
Messages =
{
start = "Starting Create service";
stop = "Stopping Create service";
};
}
-----------
but even after the rebbot the testfile.txt has not been
created.
Of couse if i try to run the Create script by hand it
works perfectly.
Is there a different way for creating it?
Thanks in advance.
Filippo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden