Mercurial > code > home > repos > infra
comparison sync.py @ 181:65412d39025e
syncthing upstream
author | drewp@bigasterisk.com |
---|---|
date | Mon, 27 Mar 2023 17:07:48 -0700 |
parents | 4f1f39f81bc1 |
children | d7ddfe3837b0 |
comparison
equal
deleted
inserted
replaced
180:1aaff9904993 | 181:65412d39025e |
---|---|
36 files.link(f'/etc/systemd/system/multi-user.target.wants/syncthing@{user}.service', user_svc_template) | 36 files.link(f'/etc/systemd/system/multi-user.target.wants/syncthing@{user}.service', user_svc_template) |
37 systemd.service(service=f'syncthing@{user}', enabled=True, restarted=True, daemon_reload=True) | 37 systemd.service(service=f'syncthing@{user}', enabled=True, restarted=True, daemon_reload=True) |
38 | 38 |
39 | 39 |
40 # also see /my/serv/filesync/syncthing/deploy.yaml for the container one | 40 # also see /my/serv/filesync/syncthing/deploy.yaml for the container one |
41 version = 'v1.23.1' | 41 version = 'v1.23.2' |
42 | 42 |
43 # primary instance is in k8s (/my/serv/filesync/syncthing); the rest are run with systemd. | 43 # primary instance is in k8s (/my/serv/filesync/syncthing); the rest are run with systemd. |
44 # Configs are in ~/.config/syncthing/ on each box | 44 # Configs are in ~/.config/syncthing/ on each box |
45 if host.name in ['dash', 'dot', 'slash', 'plus', 'bang' ,'ditto']: | 45 if host.name in ['dash', 'dot', 'slash', 'plus', 'bang' ,'ditto']: |
46 apt.packages(packages=['syncthing'], present=False) | 46 apt.packages(packages=['syncthing'], present=False) |