Skip to content

Instantly share code, notes, and snippets.

@blaketmiller
Created December 2, 2016 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blaketmiller/aaf34668232bf15deb3c4aea31c26e22 to your computer and use it in GitHub Desktop.
Save blaketmiller/aaf34668232bf15deb3c4aea31c26e22 to your computer and use it in GitHub Desktop.
# /usr/lib/systemd/system/salt-minion.service
[Unit]
Description=The Salt Minion
After=network.target
[Service]
Type=notify
NotifyAccess=all
LimitNOFILE=8192
ExecStart=/usr/bin/salt-minion
Environment="HTTP_PROXY=http://proxy.example.net:3128"
Environment="HTTPS_PROXY=http://proxy.example.net:3128"
Environment="NO_PROXY=localhost,127.0.0.1"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment