homelab/roles/photoview/files/photoview.service

14 lines
278 B
INI
Raw Normal View History

2024-10-01 14:28:28 +02:00
[Unit]
Description=Photo gallery for self-hosted personal servers
After=docker.service
Requires=docker.service
[Service]
Type=exec
WorkingDirectory=/etc/photoview
ExecStart=/usr/bin/docker compose up
ExecStop=/usr/bin/docker compose down
[Install]
WantedBy=multi-user.target