diff --git a/init/docker-container@simpbot.service b/init/docker-container@simpbot.service new file mode 100644 index 0000000..2c8edff --- /dev/null +++ b/init/docker-container@simpbot.service @@ -0,0 +1,11 @@ + +[Unit] +Description=Simpbot: automated appreciation of strange internet women +Requires=docker.service +After=docker.service + +[Service] +Restart=always +ExecStart=/usr/bin/docker run --name simpbot --mount=type=bind,source=/etc/simpbot/config.yaml,destination=/etc/simpbot/config.yaml git.saintnet.tech/stryan/simpbot +ExecStop=/usr/bin/docker rm -f simpbot +