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:28 -04:00
parent 1a15e7ec89
commit 529593e26d

View File

@ -0,0 +1,14 @@
[Unit]
Description=NunBot: Bringing nuns, ducks and love to Matrix
Requires=docker.service
After=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/docker run --name nunbot --mount=type=bind,source=/etc/nunbot/config.yaml,destination=/etc/nunbot/config.yaml git.saintnet.tech/stryan/nunbot
ExecStop=/usr/bin/docker rm -f nunbot
[Install]
WantedBy=default.target