calathea: add config
This commit is contained in:
parent
2cfd746c52
commit
787a63ea0d
11 changed files with 137 additions and 1 deletions
13
roles/calathea/files/calathea.service
Normal file
13
roles/calathea/files/calathea.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Simple plant tracker
|
||||
After=docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
WorkingDirectory=/etc/calathea
|
||||
ExecStart=/usr/bin/docker compose up
|
||||
ExecStop=/usr/bin/docker compose down
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue