12 lines
302 B
Desktop File
12 lines
302 B
Desktop File
[Unit]
|
|
Description=Redis Docker container
|
|
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
|
|
ExecStop=/usr/bin/docker stop redis
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|