Changes between Version 348 and Version 349 of SystemAdministration


Ignore:
Timestamp:
09/03/18 11:13:39 (6 years ago)
Author:
Willem Elbers
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration

    v348 v349  
    106106# Deploying and running services #
    107107
    108 In the deploy users home directory (/home/deploy):
     108Repositories:
     109
     110* Deploy script: https://gitlab.com/CLARIN-ERIC/deploy-script
     111
     112* Control script: https://gitlab.com/CLARIN-ERIC/control-script 
     113
     114In the ''deploy'' users home directory (''/home/deploy''):
    109115
    110116## Deploy a service ##
    111117
    112118{{{
    113 sh deploy.sh --name delegation-pilot --git compose_idm --tag 1.0.0
    114 }}}
    115 Updates are performed by running the same command with a different tag and then using the control.sh script to restart the service.
     119sh deploy.sh --name service-name --git git-repo-name --tag 1.0.0
     120}}}
     121Updates are performed by running the same command with a different tag and then using the ''control.sh'' script to restart the service.
    116122
    117123## Initialize a service ##
    118124
    119125{{{
    120 sh control.sh delegation-pilot init
    121 }}}
    122 Customize <service-name>/.env as needed.
     126sh control.sh service-name init
     127}}}
     128Customize ''<service-name>/.env'' as needed.
    123129
    124130## Start the service ##
    125131
    126132{{{
    127 sh control.sh delegation-pilot start
     133sh control.sh service-name start
    128134}}}
    129135Other commands available: stop, restart, backup, restore, ...