Skip to content

Commit

Permalink
bw/bundles/crs-worker: don't deploy rsync-to-storage by default
Browse files Browse the repository at this point in the history
Having both rsync-to-storage and rsync-from-encoder has lead to confusion
in the past about which is the correct unit to start, and what transfers
to where. By removing one of those units, we can avoid that situation
altogether.
  • Loading branch information
Kunsi committed Mar 29, 2024
1 parent 046dab1 commit 7bde55b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions bundlewrap/bundles/crs-worker/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,19 @@
}

files['/usr/local/sbin/rsync-to-storage'] = {
'owner': 'voc',
'mode': '0700',
# only use this for REALLY weird network situations
'delete': True,
#'owner': 'voc',
#'mode': '0700',
}

files['/usr/local/lib/systemd/system/rsync-to-storage@.service'] = {
'content_type': 'mako',
'context': {
'slug': node.metadata.get('event/slug'),
},
# only use this for REALLY weird network situations
'delete': True,
#'content_type': 'mako',
#'context': {
# 'slug': node.metadata.get('event/slug'),
#},
'triggers': {
'action:systemd-reload',
},
Expand Down

0 comments on commit 7bde55b

Please sign in to comment.