[Unit] Description=Logs-Preparer for After=network.target [Service] Type=simple WorkingDirectory= Environment=RABBITMQ_HOST= Environment=RABBITMQ_PASS= ExecStart= --config /vector.yaml CPUSchedulingPolicy=idle IOSchedulingClass=3 Restart=always RestartSec=3 [Install] WantedBy=default.target