Skip to content

Commit 3f6529a

Browse files
author
Jose
committed
Use SIGTERM instead of SIGKILL for stopping the service
1 parent 09cd12d commit 3f6529a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/fluentd/fluentd.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ User={{ fluentd_user }}
1111
Group={{ fluentd_group }}
1212

1313
ExecStart=/usr/local/bin/fluentd -d /run/fluentd/fluentd.pid -c {{ fluentd_conf_path }}/fluent.conf -o {{ fluentd_log_file }}
14-
ExecStop=/usr/bin/kill -9 $MAINPID
14+
ExecStop=/usr/bin/kill $MAINPID
1515
Restart=always
1616

1717
[Install]

0 commit comments

Comments
 (0)