sudo ./sync_gateway_service_install.sh --runas=ec2-user --runbase=/home/ec2-user/sync_gateway --srccfgdir=/home/ec2-user/sync_gateway --srccfgname=config.json --cfgpath=/home/ec2-user/sync_gateway/config.json --logsdir=/home/ec2-user/sync_gateway/logs
And here is the error I'm getting.
ERROR: Unsupported RedHat/CentOS Version "7.0"
Does not service install script need updating for 7.0?
Todd
sync_gateway_service_install.sh
-h --help
--runas=<The user account to run sync_gateway as; default (sync_gateway)>
--runbase=<The directory to run sync_gateway from; defaut (/home/sync_gateway)>
--sgpath=<The path to the sync_gateway executable; default (/opt/couchbase-sync-gateway/bin/sync_gateway)>
--cfgpath=<The path to the sync_gateway JSON config file; default (/home/sync_gateway/sync_gateway.json)>
--logsdir=<The path to the log file direcotry; default (/home/sync_gateway/logs)>sudo systemctl start sync_gateway.service
I get:
Job for sync_gateway.service failed. See 'systemctl status sync_gateway.service' and 'journalctl -xn' for details.
sync_gateway.service - Couchbase Sync Gateway server
Loaded: loaded (/usr/lib/systemd/system/sync_gateway.service; enabled)
Active: failed (Result: exit-code) since Wed 2015-01-28 12:27:16 EST; 4s ago
Process: 17004 ExecStartPre=/bin/mkdir -p /home/ec2-user/sync_gateway/logs (code=exited, status=1/FAILURE)
I confirmed that /home/ec2-user/sync_gateway/logs exists and has the correct permissions.
Any ideas?
Todd