Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Last active September 18, 2019 21:48
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 matthewmueller/9be142be3f98c2772e4435eaf8beaed5 to your computer and use it in GitHub Desktop.
Save matthewmueller/9be142be3f98c2772e4435eaf8beaed5 to your computer and use it in GitHub Desktop.
Inlets Unit file for Amazon Linux 2
[Unit]
Description=Inlets Server Service
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=1
StartLimitInterval=0
EnvironmentFile=/etc/default/inlets
ExecStart=/usr/local/bin/inlets server --port=80 --token=${AUTHTOKEN}
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment