Create a template service file at /etc/systemd/system/secure-tunnel@.service
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target
#!/bin/bash | |
########################################################### | |
# Inspect a SAML metadata file and report its characteristics. | |
# | |
# Usage: md_inspect.sh [-vs] [MD_FILE] | |
# | |
# Optionally takes the path to the metadata file as a command-line | |
# parameter. If none is given, takes its input from stdin instead. | |
# |
#!/bin/bash | |
# Here short description of this script | |
# This is just a template to be used for writing new bash scripts | |
### | |
# Based on Google Style Guide: https://google.github.io/styleguide/shell.xml | |
# General remarks | |
# * Executables should have no extension (strongly preferred) or a .sh extension. | |
# * Libraries must have a .sh extension and should not be executable |