Created
September 2, 2014 09:32
-
-
Save waltervargas/853a74b89fc8d8df0d05 to your computer and use it in GitHub Desktop.
Vagrant Openerp Start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DAEMON=/usr/bin/openerp-server | |
CONFIG=/etc/openerp/openerp-server.conf | |
USER=openerp | |
ARGS="$DAEMON --config $CONFIG --update=$1" | |
CMD="sudo su $USER -s /bin/sh -c '$ARGS'" | |
vagrant ssh -c "$CMD" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment