mozilla-services / hindsight

Hindsight - light weight data processing skeleton
Mozilla Public License 2.0
665 stars 55 forks source link

Update the packaging to install Hindsight as a service #161

Open trink opened 6 years ago

trink commented 6 years ago

Disabled by default until we bootstrap the cfgs to do real work based on the system where it is being installed

deric commented 6 years ago

Any plans to support systemd? I'm using something like this:

[Unit]
Description=Log forwarding service
After=syslog.target network-online.target

[Service]
Type=simple
UMask=0007
ExecStartPre=-/bin/mkdir -p /var/cache/hindsight
ExecStart=/usr/bin/hindsight /etc/hindsight/hindsight.cfg
Restart=on-abort

[Install]
WantedBy=multi-user.target