I've tried to install the servoy application server on a mac.
The installation goes fine.
The problem comes with the daemons setup.
I've tried to create a new daemon:
- Code: Select all
#!/bin/sh
. /etc/rc.common
# The start subroutine
StartService() {
# Insert your start command below. For example:
/Applications/Servoy/application_server/postgres_db/bin/pg_ctl -D /Applications/Servoy/application_server/database -l /Applications/Servoy/application_server/postgres_db/postgres_log.txt start
# End example.
}
# The stop subroutine
StopService() {
# Insert your stop command(s) below. For example:
/Applications/Servoy/application_server/postgres_db/bin/pg_ctl -D /Applications/Servoy/application_server/database -l /Applications/Servoy/application_server/postgres_db/postgres_log.txt stop
# End example.
}
# The restart subroutine
RestartService() {
# Insert your start command below. For example:
StopService()
StartService()
# End example.
}
RunService "$1"
But it doesn't work. I don't know if the syntax its correct.
If I run
- Code: Select all
/Applications/Servoy/application_server/postgres_db/bin/pg_ctl -D /Applications/Servoy/application_server/database -l /Applications/Servoy/application_server/postgres_db/postgres_log.txt start
I've done the folder, the .sh file and the .plist by myself because the link to the "armadillo" page is broken.
I've tried to follow the servoyguy guide:
http://www.servoyguy.com/knowledge_base ... p_automa_1
Can anyone say me what I'm missing?
Does exist a step-by-step servoy installation guide for mac?
Thanks