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| #!/usr/bin/env python | |
| # Haversine formula example in Python | |
| # Author: Wayne Dyck | |
| import math | |
| def distance(origin, destination): | |
| lat1, lon1 = origin | |
| lat2, lon2 = destination |
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| #!/usr/bin/env bash | |
| # | |
| #set -x | |
| ####################################### | |
| declare -A morse | |
| morse[0]='- - - - -' | |
| morse[1]='. - - - -' | |
| morse[2]='. . - - -' | |
| morse[3]='. . . - -' | |
| morse[4]='. . . . -' |