5ddbde3310
* adds kolide fleet * integrates osquery to kolide fleet server Change-Id: I646364c44bb99d4397bb35068600c49b7bfd62c2
18 lines
535 B
Django/Jinja
18 lines
535 B
Django/Jinja
[Unit]
|
|
Requires=redis.service
|
|
After=redis.service
|
|
|
|
[Service]
|
|
TimeoutStartSec=0
|
|
ExecStartPre=-/usr/bin/docker pull kolide/fleet:{{ kolide_fleet_version }}
|
|
ExecStartPre=-/usr/bin/docker kill fleet_service
|
|
ExecStartPre=-/usr/bin/docker rm fleet_service
|
|
ExecStart=/usr/bin/docker run -v /etc/fleet:/etc/fleet --name fleet_service kolide/fleet:{{ kolide_fleet_version }} --config=/etc/fleet/fleet_config.yml
|
|
|
|
ExecStop=-/usr/bin/docker stop fleet_fleet
|
|
|
|
ExecReload=/usr/bin/docker restart fleet_service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|