aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/tg/files/csit-initialize-docker-tg.service
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/tg/files/csit-initialize-docker-tg.service')
-rw-r--r--fdio.infra.ansible/roles/tg/files/csit-initialize-docker-tg.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/tg/files/csit-initialize-docker-tg.service b/fdio.infra.ansible/roles/tg/files/csit-initialize-docker-tg.service
new file mode 100644
index 0000000000..11911201d5
--- /dev/null
+++ b/fdio.infra.ansible/roles/tg/files/csit-initialize-docker-tg.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=CSIT Initialize Docker TG
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=True
+ExecStart=/usr/local/bin/csit-initialize-docker-tg.sh start 2
+ExecStop=/usr/local/bin/csit-initialize-docker-tg.sh stop
+
+[Install]
+WantedBy=default.target