mozilla-services / hindsight

Hindsight - light weight data processing skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update the packaging to install Hindsight as a service

trink opened this issue · comments

  • creation of hindsight user
  • init.d script
  • /opt/hindsight # cfg and dir structure

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

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