summaryrefslogtreecommitdiff
path: root/metube.service
diff options
context:
space:
mode:
Diffstat (limited to 'metube.service')
-rw-r--r--metube.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/metube.service b/metube.service
new file mode 100644
index 0000000..e1fcbdb
--- /dev/null
+++ b/metube.service
@@ -0,0 +1,16 @@
+# Startdate: 2023-01-23-2 16:54
+# Project: metube
+[Unit]
+Description=Metube with docker-compose
+Requires=docker.service
+After=docker.service
+
+[Service]
+Type=simple
+RemainAfterExit=true
+WorkingDirectory=/home/metube/git
+ExecStart=/bin/docker-compose up -d
+ExecStop=/bin/docker-compose stop
+
+[Install]
+WantedBy=multi-user.target
bgstack15