Spotter-VM/ckan/lib/systemd/system/ckan.service

12 lines
315 B
Desktop File

[Unit]
Description=CKAN Docker container
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/docker run --rm --name ckan --link=postgres --link=redis --link=solr -v /srv/ckan/conf:/etc/ckan -v /srv/ckan/data:/srv/ckan/storage ckan
ExecStop=/usr/bin/docker stop ckan
[Install]
WantedBy=multi-user.target