diff --git a/states/vector/templates/vector.service.j2 b/states/vector/templates/vector.service.j2 index 12fde3a..c44a6a9 100644 --- a/states/vector/templates/vector.service.j2 +++ b/states/vector/templates/vector.service.j2 @@ -13,6 +13,7 @@ ExecStartPre=/usr/local/bin/vector validate ExecStart=/usr/local/bin/vector ExecReload=/usr/local/bin/vector validate ExecReload=/bin/kill -HUP $MAINPID +ExecStop=/bin/kill $MAINPID Restart=always AmbientCapabilities=CAP_NET_BIND_SERVICE EnvironmentFile=-/etc/default/vector