Skip to content

Instantly share code, notes, and snippets.

@fabiocruzcoelho
Created January 27, 2017 09:44
Show Gist options
  • Save fabiocruzcoelho/b8895d001c052b79a28b6fdc58bd2e09 to your computer and use it in GitHub Desktop.
Save fabiocruzcoelho/b8895d001c052b79a28b6fdc58bd2e09 to your computer and use it in GitHub Desktop.
Modelo de service systemd
[Unit]
Description=Proxy User Bypass
After=syslog.target e2guardian.service
[Service]
WorkingDirectory=/etc/scripts/e2g/
ExecStart=/bin/java -jar proxy-user-bypass.jar --spring.config.location=/etc/scripts/e2g/proxy-user-bypass.properties
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment