1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Memcached Daemon After=network.target [Service] User=memcached # Remove '-l 127.0.0.1' to listen on all addresses ExecStart=/usr/bin/memcached -l 127.0.0.1 Restart=always [Install] WantedBy=multi-user.target