[Unit] Description=A fast TCP tunnel over HTTP After=network-online.target [Service] Type=simple User={{chisel_user}} Group={{chisel_group}} EnvironmentFile={{chisel_config_location}}/chisel-server.conf ExecStart={{chisel_bin_location}}/chisel server {{ '--socks5' if chisel_server_socks5}} {{ '--reverse' if chisel_server_reverse}} {{ '--backend {}'.format(chisel_server_backend) if chisel_server_backend}} {{ '--auth {0}:{1}'.format(chisel_server_auth.user,chisel_server_auth.pass) if chisel_server_auth }} [Install] WantedBy=multi-user.target