Remove tmpfs from docker run (containers are destroyed anyway)
This commit is contained in:
parent
ae2eea1933
commit
1c238b77fe
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name openmapkit -v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js -v /srv/openmapkit/data:/srv/openmapkit/data openmapkit
|
||||
ExecStart=/usr/bin/docker run --rm --name openmapkit -v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js -v /srv/openmapkit/data:/srv/openmapkit/data openmapkit
|
||||
ExecStop=/usr/bin/docker kill openmapkit
|
||||
|
||||
[Install]
|
||||
|
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name redis -v /srv/redis/redis.conf:/etc/redis.conf -v /srv/redis/data:/var/lib/redis redis
|
||||
ExecStart=/usr/bin/docker run --rm --name redis -v /srv/redis/redis.conf:/etc/redis.conf -v /srv/redis/data:/var/lib/redis redis
|
||||
ExecStop=/usr/bin/docker stop redis
|
||||
|
||||
[Install]
|
||||
|
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name solr -v /srv/solr/data:/var/lib/solr solr
|
||||
ExecStart=/usr/bin/docker run --rm --name solr -v /srv/solr/data:/var/lib/solr solr
|
||||
ExecStop=/usr/bin/docker stop solr
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user