Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| { appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3 }: | |
| let | |
| pname = "wootility"; | |
| version = "3.3.1"; | |
| in appimageTools.wrapType2 rec { | |
| name = "${pname}-${version}"; | |
| src = fetchurl { | |
| url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-linux-latest/wootility-${version}-x86_64.AppImage"; |
| from socket import socket, AF_INET, SOCK_DGRAM | |
| from dtls import do_patch | |
| import requests | |
| import binascii | |
| import sslpsk | |
| import json | |
| BRIDGE_IP = 'your_bridge_ip' | |
| VALID_API_VERSION = 1.22 | |
| USERNAME = 'your_hue_username' |
Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target