|
[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
|