• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems with StartupItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problems with StartupItems
      • From: Horst Hösel <email@hidden>
  • Prev by Date: Re: Customized disk images
  • Next by Date: Re: Problems with StartupItems
  • Previous by thread: Re: Customized disk images
  • Next by thread: Re: Problems with StartupItems
  • Index(es):
    • Date
    • Thread