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