This commit is contained in:
parent
1a15e7ec89
commit
529593e26d
14
init/docker-container@nunbot.service
Normal file
14
init/docker-container@nunbot.service
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user