diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2019-09-23 22:56:20 +0200 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2019-09-23 22:56:20 +0200 |
commit | 1738af3a5dd29c89e27e33a890389b5ac4b71843 (patch) | |
tree | f5580111cbc4b6166c90a10ff7370c03632f83e5 /roles/install_mesh-announce/templates/respondd.service.j2 | |
parent | 27432b0ddc2ee1010f7b3db29d7cdf7fdb6ab128 (diff) |
install mesh-announce
Diffstat (limited to 'roles/install_mesh-announce/templates/respondd.service.j2')
-rw-r--r-- | roles/install_mesh-announce/templates/respondd.service.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/install_mesh-announce/templates/respondd.service.j2 b/roles/install_mesh-announce/templates/respondd.service.j2 new file mode 100644 index 0000000..53970a7 --- /dev/null +++ b/roles/install_mesh-announce/templates/respondd.service.j2 @@ -0,0 +1,12 @@ +[Unit] +Description=Respondd +After=network.target + +[Service] +ExecStart=/opt/mesh-announce/respondd.py -d /opt/mesh-announce/providers {% for site in sites %}-i bat{{ site.name }} -i vpn{{ site.name }} -b bat{{ site.name }} {% endfor %} + +Restart=always +Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + +[Install] +WantedBy=multi-user.target |