| Line 45... |
Line 45... |
| 45 |
# Return
|
45 |
# Return
|
| 46 |
# 0 if daemon has been started
|
46 |
# 0 if daemon has been started
|
| 47 |
# 1 if daemon was already running
|
47 |
# 1 if daemon was already running
|
| 48 |
# 2 if daemon could not be started
|
48 |
# 2 if daemon could not be started
|
| 49 |
$DAEMON -u ${PROJECT_DIR}/shop2020/content/main/ContentServer.py -l /var/log/services/content.log -i $PIDFILE start
|
49 |
$DAEMON -u ${PROJECT_DIR}/shop2020/content/main/ContentServer.py -l /var/log/services/content.log -i $PIDFILE start
|
| - |
|
50 |
$DAEMON -u ${PROJECT_DIR}/shop2020/config/script/ConfigPropertiesReloader.py
|
| 50 |
# Add code here, if necessary, that waits for the process to be ready
|
51 |
# Add code here, if necessary, that waits for the process to be ready
|
| 51 |
# to handle requests from services started subsequently which depend
|
52 |
# to handle requests from services started subsequently which depend
|
| 52 |
# on this one. As a last resort, sleep for some time.
|
53 |
# on this one. As a last resort, sleep for some time.
|
| 53 |
}
|
54 |
}
|
| 54 |
|
55 |
|