N.B the file On a Linux or Solaris System
DicomServer script.
sudo cp dicomServer /etc/init.d/dicomserver
Then, create a symbolic link to it:
N.B this startup script assumes that the storage server program
cd /etc/rc2.d; sudo ln -s ../init.d/DicomServer S91DicomServer
cd /etc/rc.d/rc3.d
exists, do:
cd /etc/rc.d/rc3.d; sudo ln -s ../../init.d/dicomserver S91DicomServer
cd /etc/rc3.d
exists, do:
cd /etc/rc3.d; sudo ln -s ../init.d/dicomserver S91DicomServer
StorageServer is installed in /usr/local/bin; edit
the script dicomderver if it is not.
cd /etc/init.d; ./DicomServer start
# ps -ef | grep StorageServer
root 5354 1 0 16:34:58 pts/2 0:00 /bin/csh /usr/local/bin/StorageServer
root 5357 5345 0 16:35:10 pts/2 0:00 grep StorageServer
On a Mac OS/X System
Now copy the required file to this folder:
cd /System/Library/LaunchDaemons
Note: there is a period (".") at the end of the command above.
sudo cp ~/Desktop/com.xinapse.storageserver.plist .
Note: you will need Administrator rights to perform the above command. The sudo
command above gives you administrator rights, but you will be prompted to enter your password.
com.xinapse.storageserver.plist assumes that you
installed the script StorageServer in /usr/local/bin; edit
the script com.xinapse.storageserver.plist if it is not.
# ps -ef | grep StorageServer
0 15 1 0 0:00.01 ?? 0:00.01 /bin/csh /usr/local/bin/StorageServer
0 54 15 0 0:00.01 ?? 0:00.01 /bin/csh /usr/local/bin/RunTool true com.xinapse.apps.convert.StorageServer
0 79 54 0 0:00.79 ?? 0:11.53 /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java -Ddongle.debug=true -DOutputType=UNC -DTextMode=true -Dlicense.filename=/Applications/Xinapse/Jim6/license.txt -Dlicense.debug=false -Xms32m -Xmx1024m -classpath /Applications/Xinapse/Jim6/xinapse6.jar:/Applications/Xinapse/Jim6/cli.jar:/Applications/Xinapse/Jim6/itext.jar:/Applications/Xinapse/Jim6/j3d-vrml97.jar:/Applications/Xinapse/Jim6/mstemplate.jar com.xinapse.apps.convert.StorageServer
501 213 184 0 0:00.00 ttys000 0:00.00 grep StorageServer