feat: update otter deployment
This commit is contained in:
parent
6d50983f84
commit
b2ea4ad0d3
3 changed files with 49 additions and 10 deletions
|
|
@ -1,13 +1,13 @@
|
|||
[Unit]
|
||||
Description=Gpodder.net API implementation
|
||||
After=docker.service
|
||||
Requires=docker.service
|
||||
After=network.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
WorkingDirectory=/etc/otter
|
||||
ExecStart=/usr/bin/docker compose up
|
||||
ExecStop=/usr/bin/docker compose down
|
||||
User=otter
|
||||
Group=otter
|
||||
ExecStart=/usr/local/bin/otter serve -c /etc/otter/otter.toml
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue