Message ID | 20180807131756.23673-5-qi.fuli@jp.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Some fixups and improvements ndctl monitor | expand |
Hi Qi, Looks good to me. Please free to add: Reviewed-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com> Thanks, Masa On 08/07/2018 09:17 AM, QI Fuli wrote: > This patch is used to add "[Install]" section to systemd unit file of > ndctl-monitor. Therefore, users can set ndctl-monitor unit enable. > > Signed-off-by: QI Fuli <qi.fuli@jp.fujitsu.com> > --- > ndctl/ndctl-monitor.service | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/ndctl/ndctl-monitor.service b/ndctl/ndctl-monitor.service > index 44f9326..342a1b1 100644 > --- a/ndctl/ndctl-monitor.service > +++ b/ndctl/ndctl-monitor.service > @@ -5,3 +5,6 @@ Description=Ndctl Monitor Daemon > Type=forking > ExecStart=/usr/bin/ndctl monitor --daemon > ExecStop=/bin/kill ${MAINPID} > + > +[Install] > +WantedBy=multi-user.target >
diff --git a/ndctl/ndctl-monitor.service b/ndctl/ndctl-monitor.service index 44f9326..342a1b1 100644 --- a/ndctl/ndctl-monitor.service +++ b/ndctl/ndctl-monitor.service @@ -5,3 +5,6 @@ Description=Ndctl Monitor Daemon Type=forking ExecStart=/usr/bin/ndctl monitor --daemon ExecStop=/bin/kill ${MAINPID} + +[Install] +WantedBy=multi-user.target
This patch is used to add "[Install]" section to systemd unit file of ndctl-monitor. Therefore, users can set ndctl-monitor unit enable. Signed-off-by: QI Fuli <qi.fuli@jp.fujitsu.com> --- ndctl/ndctl-monitor.service | 3 +++ 1 file changed, 3 insertions(+)