different rsync args and fixed chown tpyo

This commit is contained in:
Mathew Guest 2022-09-26 15:40:08 -06:00
parent 278a0fee32
commit 1d85691653
2 changed files with 5 additions and 4 deletions

@ -116,6 +116,7 @@ Typical Usage:
"""
print(s)
def start_app():
app = SmileyFace()
app.invoke_from_cli()

@ -172,7 +172,7 @@ ssh {remote_game_host} {remote_game_dir}/stop-server.sh
remote_redirect_host = self.ctx.config['app']['remote_redirect_host']
cwd = project_dir
cmd = '''
rsync -rvz \
rsync -rivz \
--delete \
--exclude "*.md5" \
--exclude 'unused' \
@ -232,7 +232,7 @@ rsync -vz \
cmd = '''
ssh mathewguest.com \
chown http.http /srv/ut4-redirect.zavage.net -R
chown http:http /srv/ut4-redirect.zavage.net -R
'''
self._invoke_command(cmd)
@ -248,7 +248,7 @@ ssh mathewguest.com \
# transfer #1
cmd = '''
rsync -ravzp \
rsync -raivzp \
--delete \
--exclude ".KEEP" \
--exclude "Mods.db" \
@ -302,7 +302,7 @@ scp \
# transfer #4
cmd = '''
ssh {remote_game_host} \
chown ut4.ut4 {remote_game_dir} -R
chown ut4:ut4 {remote_game_dir} -R
'''.format(**{
'remote_game_host': remote_game_host,
'remote_game_dir': remote_game_dir