nunbot/init/docker-container@nunbot.service
Steve 529593e26d
All checks were successful
continuous-integration/drone/push Build is passing
docker service file
2022-08-07 15:28:28 -04:00

15 lines
377 B
Desktop File

[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