Permission Cheat Sheet
You will use this one a lot in Wordpress :P
chown -R www-data:www-data ./
// set the proper owner
Permission Cheat Sheet
You will use this one a lot in Wordpress :P
chown -R www-data:www-data ./
// set the proper owner
My collection of useful hints and snippets for the Jenkins Pipeline Plugin
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
| # All Commands are jboss-cli.sh unless indicated | |
| # Stop / Start JBoss Server | |
| /host=master/server-config=server-one:stop | |
| /host=master/server-config=server-one:start | |
| # Check is JBoss is Up | |
| ls -l /host=master/server-config=server-one (SHOULD Work) | |
| Bash = ps -e -o pid -o args | grep java | grep 'server-one' | grep -v 'grep' | awk '{print $1}' (Will return just the PID of the running instance) |