Changes between Version 348 and Version 349 of SystemAdministration
- Timestamp:
- 09/03/18 11:13:39 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SystemAdministration
v348 v349 106 106 # Deploying and running services # 107 107 108 In the deploy users home directory (/home/deploy): 108 Repositories: 109 110 * Deploy script: https://gitlab.com/CLARIN-ERIC/deploy-script 111 112 * Control script: https://gitlab.com/CLARIN-ERIC/control-script 113 114 In the ''deploy'' users home directory (''/home/deploy''): 109 115 110 116 ## Deploy a service ## 111 117 112 118 {{{ 113 sh deploy.sh --name delegation-pilot --git compose_idm--tag 1.0.0114 }}} 115 Updates are performed by running the same command with a different tag and then using the control.shscript to restart the service.119 sh deploy.sh --name service-name --git git-repo-name --tag 1.0.0 120 }}} 121 Updates are performed by running the same command with a different tag and then using the ''control.sh'' script to restart the service. 116 122 117 123 ## Initialize a service ## 118 124 119 125 {{{ 120 sh control.sh delegation-pilotinit121 }}} 122 Customize <service-name>/.envas needed.126 sh control.sh service-name init 127 }}} 128 Customize ''<service-name>/.env'' as needed. 123 129 124 130 ## Start the service ## 125 131 126 132 {{{ 127 sh control.sh delegation-pilotstart133 sh control.sh service-name start 128 134 }}} 129 135 Other commands available: stop, restart, backup, restore, ...