15 lines
298 B
Desktop File
15 lines
298 B
Desktop File
[Unit]
|
|
Description=Anki Sync Server
|
|
Requires=docker.service
|
|
After=docker.service
|
|
|
|
[Service]
|
|
WorkingDirectory=/var/lib/anki
|
|
ExecStart=/usr/local/bin/docker-compose up
|
|
ExecStop=/usr/local/bin/docker-compose down
|
|
Restart=always
|
|
EnvironmentFile=/var/lib/anki/.env
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|