Skip to content

Instantly share code, notes, and snippets.

@mpurzynski
Last active August 27, 2018 19:00
Show Gist options
  • Select an option

  • Save mpurzynski/948c06cbccba640725a2305bf6c0b561 to your computer and use it in GitHub Desktop.

Select an option

Save mpurzynski/948c06cbccba640725a2305bf6c0b561 to your computer and use it in GitHub Desktop.
[Unit]
Description=otxupdate cron
[Service]
EnvironmentFile=/etc/profile
Type=oneshot
#WorkingDirectory=/etc/bro/scripts/site/otx
ExecStart=/usr/local/bin/bro-otx.py -c /etc/bro/scripts/site/otx/bro-otx.conf
StandardOutput=syslog
StandardError=syslog
User=bro
Group=bro
[Install]
WantedBy=multi-user.target
f: /etc/bro/scripts/site/otx
drwxr-xr-x root root /
drwxr-xr-x root root etc
drwxr-xr-x root root bro
drwxr-xr-x root root scripts
drwxr-xr-x root root site
drwxr-xr-x bro bro otx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment