Commit af729c7a authored by aninhacostaribeiro's avatar aninhacostaribeiro
Browse files

Addedd contrib

parent b5736955
description "Fogbow green sitter agent"
author "Ana Ribeiro"
start on startup
stop on shutdown
respawn
respawn limit 99 5
env APP_USER="fogbow"
env APP_DIR="/usr/share/fogbow-green-sitter-agent/"
env APP_EXEC="/usr/bin/java"
"env APP_PID="/var/run/fogbow-reverse-tunnel.pid"????
env APP_ARGS="-Dlog4j.configuration=file:log4j.properties -jar target/fogbow-green-sitter-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar agent.properties"
script
exec start-stop-daemon --start --chuid ${APP_USER} -m -p ${APP_PID} --chdir ${APP_DIR} --exec ${APP_EXEC} -- ${APP_ARGS}
end script
post-start script
echo "Fogbow green sitter agent started."
end script
description "Fogbow green sitter server"
author "Ana Ribeiro"
start on startup
stop on shutdown
respawn
respawn limit 99 5
env APP_USER="fogbow"
env APP_DIR="/usr/share/fogbow-green-sitter-server/"
env APP_EXEC="/usr/bin/java"
"env APP_PID="/var/run/fogbow-reverse-tunnel.pid"????
env APP_ARGS="-Dlog4j.configuration=file:log4j.properties -jar target/ffogbow-green-sitter-server-0.0.1-SNAPSHOT-jar-with-dependencies.jar server.properties"
script
exec start-stop-daemon --start --chuid ${APP_USER} -m -p ${APP_PID} --chdir ${APP_DIR} --exec ${APP_EXEC} -- ${APP_ARGS}
end script
post-start script
echo "Fogbow green sitter server started."
end script
description "Fogbow green sitter server"
author "Ana Ribeiro"
start on startup
stop on shutdown
respawn
respawn limit 99 5
env APP_USER="fogbow"
env APP_DIR="/usr/share/fogbow-green-sitter-server/"
env APP_EXEC="/usr/bin/java"
env APP_PID="/var/run/fogbow-green-sitter-server.pid"
env APP_ARGS="-Dlog4j.configuration=file:log4j.properties -jar target/fogbow-green-sitter-server-0.0.1-SNAPSHOT-jar-with-dependencies.jar server.properties"
script
exec start-stop-daemon --start --chuid ${APP_USER} -m -p ${APP_PID} --chdir ${APP_DIR} --exec ${APP_EXEC} -- ${APP_ARGS}
end script
post-start script
echo "Fogbow green sitter server started."
end script
description "Fogbow green sitter server"
author "Ana Ribeiro"
start on startup
stop on shutdown
respawn
respawn limit 99 5
env APP_USER="fogbow"
env APP_DIR="/usr/share/fogbow-green-sitter-server/"
env APP_EXEC="/usr/bin/java"
"env APP_PID="/var/run/fogbow-green-sitter-server.pid"????
env APP_ARGS="-Dlog4j.configuration=file:log4j.properties -jar target/fogbow-green-sitter-server-0.0.1-SNAPSHOT-jar-with-dependencies.jar server.properties"
script
exec start-stop-daemon --start --chuid ${APP_USER} -m -p ${APP_PID} --chdir ${APP_DIR} --exec ${APP_EXEC} -- ${APP_ARGS}
end script
post-start script
echo "Fogbow green sitter server started."
end script
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment