Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1006 Bytes

loki_service.md

File metadata and controls

34 lines (21 loc) · 1006 Bytes

back to resource list


loki_service

Creates a systemd service for Loki

Actions

  • :create

Properties

Name Type Default Description Allowed Values
cookbook String loki Allows for overriding the default loki.service.erb cookbook location
install_directory String /etc/loki/bin/

Examples

Installs latest Loki from Github:

loki_install 'loki'

loki_service 'loki'

service 'loki' do
  action [:enable, :start]
  subscribes :restart, ['template[//etc/loki/config/config-loki.yml]'], :delayed
end