|
|
@@ -79,6 +79,7 @@ Cette page donne un exemple complet: [How to write startup script for systemd](h
|
|
|
- Chargement d'un fichier shell:
|
|
|
1. Lister des fonctions d'un fichier shell ([source](https://stackoverflow.com/a/5868245/1011366)) : `typeset -f | awk '/ \(\) $/ && !/^main / {print $1}'`
|
|
|
2. utiliser les fonctions commençant par `lfirewall_set`: `lfirewall_set_input_1`, etc
|
|
|
+- Utilisation des variables dynamiques systemd: https://unix.stackexchange.com/questions/323914/dynamic-variables-in-systemd-service-unit-files
|
|
|
|
|
|
|
|
|
# Références
|