summaryrefslogtreecommitdiff
path: root/metube.service
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-01-23 21:05:05 -0500
committerB. Stack <bgstack15@gmail.com>2023-01-23 21:05:05 -0500
commitd2fbe8e7946f087bc50b29d80ac4b89cb75fad87 (patch)
treebd2edebe798ac76ec84ff622829688e08afc6a45 /metube.service
downloadmetube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.tar.gz
metube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.tar.bz2
metube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.zip
initial commit
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