2017-12-16 20:41:58 +01:00
|
|
|
[Unit]
|
|
|
|
Description=CKAN Docker container
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2017-12-16 20:53:00 +01:00
|
|
|
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
|
2017-12-16 20:41:58 +01:00
|
|
|
ExecStop=/usr/bin/docker stop ckan
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|