simpbot/init/docker-container@simpbot.service

12 lines
355 B
SYSTEMD
Raw Normal View History

2022-08-07 15:28:11 -04:00
[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