From d2fbe8e7946f087bc50b29d80ac4b89cb75fad87 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 23 Jan 2023 21:05:05 -0500 Subject: initial commit --- metube.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 metube.service (limited to 'metube.service') 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 -- cgit