summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-10-30 12:00:00 +0000
committerpennae <82953136+pennae@users.noreply.github.com>2022-11-09 23:39:08 +0100
commit255ac994b8dcde49c22e5b7b9251630db53ff72c (patch)
treee062dd0fe1846ae4afe1017d42f72ef984e3bd39 /pkgs/development/python-modules/rangehttpserver
parentf26896669bc5a92d879f7d34c9458e8c44635ab5 (diff)
nixos/firefox-syncserver: fix setup failure due to duplicate key
in some circumstances, the setup service would fail with: ERROR 1062 (23000) at line 5: Duplicate entry '1' for key 'PRIMARY' so let's use an upsert instead of insert. This also simplifies the script. Besides, also fix that when the setup script changes, the corresponding script is not restarted as it is usually not active, so we trigger a restart of the main systemd service.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions