Release v4928.1.4.2 stable
This commit is contained in:
10
deploy/systemd/clientflow-fiscal-enrichment.service
Normal file
10
deploy/systemd/clientflow-fiscal-enrichment.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=ClientFlow Fiscal Enrichment Worker
|
||||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=plx
|
||||
WorkingDirectory=/mnt/ssd/home/plx/clientflow_backend
|
||||
EnvironmentFile=/mnt/ssd/home/plx/clientflow_backend/.env
|
||||
ExecStart=/mnt/ssd/home/plx/clientflow_backend/.venv/bin/python /mnt/ssd/home/plx/clientflow_backend/scripts/enrich_fiscal_customers.py --incremental --limit 100
|
||||
11
deploy/systemd/clientflow-fiscal-enrichment.timer
Normal file
11
deploy/systemd/clientflow-fiscal-enrichment.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Run ClientFlow Fiscal Enrichment Worker every 15 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=3min
|
||||
OnUnitActiveSec=15min
|
||||
AccuracySec=30s
|
||||
Unit=clientflow-fiscal-enrichment.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
13
deploy/systemd/clientflow-outbox-jasmin.service
Normal file
13
deploy/systemd/clientflow-outbox-jasmin.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=ClientFlow Jasmin Outbox Worker
|
||||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=plx
|
||||
WorkingDirectory=/mnt/ssd/home/plx/clientflow_backend
|
||||
EnvironmentFile=/mnt/ssd/home/plx/clientflow_backend/.env
|
||||
Environment=JASMIN_OUTBOX_ENABLED=true
|
||||
Environment=OUTBOX_TARGET_SYSTEM=jasmin
|
||||
Environment=OUTBOX_DRY_RUN=false
|
||||
ExecStart=/mnt/ssd/home/plx/clientflow_backend/.venv/bin/python /mnt/ssd/home/plx/clientflow_backend/scripts/process_outbox.py
|
||||
11
deploy/systemd/clientflow-outbox-jasmin.timer
Normal file
11
deploy/systemd/clientflow-outbox-jasmin.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Run ClientFlow Jasmin Outbox Worker every minute
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2min
|
||||
OnUnitActiveSec=1min
|
||||
AccuracySec=10s
|
||||
Unit=clientflow-outbox-jasmin.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
13
deploy/systemd/clientflow-outbox-packlink.service
Normal file
13
deploy/systemd/clientflow-outbox-packlink.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=ClientFlow Packlink Outbox Worker
|
||||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=plx
|
||||
WorkingDirectory=/mnt/ssd/home/plx/clientflow_backend
|
||||
EnvironmentFile=/mnt/ssd/home/plx/clientflow_backend/.env
|
||||
Environment=PACKLINK_OUTBOX_ENABLED=true
|
||||
Environment=OUTBOX_TARGET_SYSTEM=packlink
|
||||
Environment=OUTBOX_DRY_RUN=true
|
||||
ExecStart=/mnt/ssd/home/plx/clientflow_backend/.venv/bin/python /mnt/ssd/home/plx/clientflow_backend/scripts/process_outbox.py
|
||||
11
deploy/systemd/clientflow-outbox-packlink.timer
Normal file
11
deploy/systemd/clientflow-outbox-packlink.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Run ClientFlow Packlink Outbox Worker every 2 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=3min
|
||||
OnUnitActiveSec=2min
|
||||
AccuracySec=20s
|
||||
Unit=clientflow-outbox-packlink.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user