The batch/cpu supervisor groups + heavy fleet replace 10 per-worker units (reconciler/enrich/orchestrator/mutator/clusterer/campaign-clusterer/ attribution/reuse-correlator/profiler/ttp). Removed their deploy/*.service.j2 templates and rewired decnet.target to the 3 consolidated units. Dropped test_orchestrator_unit.py (tested a removed unit). CLI commands (decnet ttp, mutate, …) stay for manual runs; new units' Conflicts= still name the old units defensively for hosts mid-migration.
27 lines
1.1 KiB
SYSTEMD
27 lines
1.1 KiB
SYSTEMD
[Unit]
|
|
Description=DECNET honeypot framework (all master-host workers)
|
|
Documentation=https://git.resacachile.cl/anti/DECNET/wiki/Workers
|
|
# Bring workers up in dependency order: bus first (everything else publishes
|
|
# heartbeats to it), then the API + data-plane workers. systemd resolves the
|
|
# actual ordering via each unit's own After=/Wants= on decnet-bus.service —
|
|
# this target is a convenience grouping, not an ordering primitive.
|
|
# Consolidated since 1.1/1.2: the batch (reconcile/enrich/orchestrate/mutate)
|
|
# and cpu (clusterer/campaign-clusterer/attribution/reuse-correlate) supervisor
|
|
# groups and the heavy (profiler/ttp) prefork fleet replace their per-worker
|
|
# units. The standalone workers below kept their own units.
|
|
Wants=decnet-bus.service \
|
|
decnet-api.service \
|
|
decnet-web.service \
|
|
decnet-collector.service \
|
|
decnet-sniffer.service \
|
|
decnet-prober.service \
|
|
decnet-webhook.service \
|
|
decnet-canary.service \
|
|
decnet-supervise-batch.service \
|
|
decnet-supervise-cpu.service \
|
|
decnet-fleet-heavy.service
|
|
After=decnet-bus.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|