summarylogtreecommitdiffstats
path: root/rait@.service
diff options
context:
space:
mode:
Diffstat (limited to 'rait@.service')
-rw-r--r--rait@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/rait@.service b/rait@.service
new file mode 100644
index 000000000000..272b7a2eac06
--- /dev/null
+++ b/rait@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Redundant Array of Inexpensive Tunnels
+After=network.target network-online.target nss-lookup.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/rait up --config=/etc/rait/%i.conf
+ExecStop=/usr/bin/rait down --config=/etc/rait/%i.conf
+ExecReload=/usr/bin/rait up --config=/etc/rait/%i.conf
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target