diff --git a/packaging/process-exporter.service b/packaging/process-exporter.service index 9d5f6f5..772b1d8 100644 --- a/packaging/process-exporter.service +++ b/packaging/process-exporter.service @@ -4,8 +4,8 @@ Description=Process Exporter for Prometheus [Service] User=root Type=simple -EnvironmentFile=/etc/default/process-exporter -ExecStart=/usr/bin/process-exporter ${OPTS} +EnvironmentFile=-/etc/default/process-exporter +ExecStart=/usr/bin/process-exporter $OPTS KillMode=process Restart=always