Mercurial > code > home > repos > infra
comparison sync.py @ 238:a521d08d2b0d
upgrade syncthing
author | drewp@bigasterisk.com |
---|---|
date | Mon, 27 Nov 2023 22:15:10 -0800 |
parents | 83573e3350bd |
children | 058c312ffdce |
comparison
equal
deleted
inserted
replaced
237:ff8879eed64e | 238:a521d08d2b0d |
---|---|
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.25.0' | 41 version = 'v1.26.1' |
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) |