docker service file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
stryan 2022-08-07 15:28:11 -04:00
parent 057c9f1d99
commit 0eef4a7547

View File

@ -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