Skip to content

Instantly share code, notes, and snippets.

@vulpicastor
Last active January 20, 2020 23:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vulpicastor/35b2125d3605f339807f9871bbfac87b to your computer and use it in GitHub Desktop.
Save vulpicastor/35b2125d3605f339807f9871bbfac87b to your computer and use it in GitHub Desktop.
A systemd service file for iodine on Debian or Ubuntu
# Author: Lizhou Sha <slz@mit.edu>
# Note: This version is OUTDATED. Please refer to the latest iodine package in Debian Unstable.
[Unit]
Description=A daemon for tunneling traffic over DNS queries
After=network.target
[Service]
EnvironmentFile=/etc/default/iodine
ExecStartPre=/bin/sh -xc "test ${START_IODINED} = true"
ExecStart=/usr/sbin/iodined -f -u iodine $IODINED_ARGS -P ${IODINED_PASSWORD}
Restart=on-failure
Type=simple
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment