mirror of
https://git.zavage.net/Zavage-Software/smileyface.git
synced 2024-12-22 12:49:20 -07:00
different rsync args and fixed chown tpyo
This commit is contained in:
parent
278a0fee32
commit
1d85691653
@ -116,6 +116,7 @@ Typical Usage:
|
|||||||
"""
|
"""
|
||||||
print(s)
|
print(s)
|
||||||
|
|
||||||
|
|
||||||
def start_app():
|
def start_app():
|
||||||
app = SmileyFace()
|
app = SmileyFace()
|
||||||
app.invoke_from_cli()
|
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']
|
remote_redirect_host = self.ctx.config['app']['remote_redirect_host']
|
||||||
cwd = project_dir
|
cwd = project_dir
|
||||||
cmd = '''
|
cmd = '''
|
||||||
rsync -rvz \
|
rsync -rivz \
|
||||||
--delete \
|
--delete \
|
||||||
--exclude "*.md5" \
|
--exclude "*.md5" \
|
||||||
--exclude 'unused' \
|
--exclude 'unused' \
|
||||||
@ -232,7 +232,7 @@ rsync -vz \
|
|||||||
|
|
||||||
cmd = '''
|
cmd = '''
|
||||||
ssh mathewguest.com \
|
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)
|
self._invoke_command(cmd)
|
||||||
|
|
||||||
@ -248,7 +248,7 @@ ssh mathewguest.com \
|
|||||||
|
|
||||||
# transfer #1
|
# transfer #1
|
||||||
cmd = '''
|
cmd = '''
|
||||||
rsync -ravzp \
|
rsync -raivzp \
|
||||||
--delete \
|
--delete \
|
||||||
--exclude ".KEEP" \
|
--exclude ".KEEP" \
|
||||||
--exclude "Mods.db" \
|
--exclude "Mods.db" \
|
||||||
@ -302,7 +302,7 @@ scp \
|
|||||||
# transfer #4
|
# transfer #4
|
||||||
cmd = '''
|
cmd = '''
|
||||||
ssh {remote_game_host} \
|
ssh {remote_game_host} \
|
||||||
chown ut4.ut4 {remote_game_dir} -R
|
chown ut4:ut4 {remote_game_dir} -R
|
||||||
'''.format(**{
|
'''.format(**{
|
||||||
'remote_game_host': remote_game_host,
|
'remote_game_host': remote_game_host,
|
||||||
'remote_game_dir': remote_game_dir
|
'remote_game_dir': remote_game_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user