Skip to content

Instantly share code, notes, and snippets.

@mpurzynski
Created August 27, 2018 19:22
Show Gist options
  • Select an option

  • Save mpurzynski/46a85f1d9ce1c4a7d7427d10c1072cb6 to your computer and use it in GitHub Desktop.

Select an option

Save mpurzynski/46a85f1d9ce1c4a7d7427d10c1072cb6 to your computer and use it in GitHub Desktop.
systemctl cat otxupdate
# /etc/systemd/system/otxupdate.service
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment