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

12 lines
338 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 -p 127.0.0.1:9003:8003 -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