i get error for enabling kibana service on centos7 -
[root@logstashserver bin]# systemctl enable kibana
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
- A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory. - A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it. - A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
kibana.service file-
[Service]
ExecStart=/usr/local/kibana/bin/kibana
[Install]
Wantedby=multi-user.target