Skip to content

Instantly share code, notes, and snippets.

@coolswitcher
Created August 26, 2017 21:32
Show Gist options
  • Save coolswitcher/cfc9f6fa1331cae06fe1beb7b23c3233 to your computer and use it in GitHub Desktop.
Save coolswitcher/cfc9f6fa1331cae06fe1beb7b23c3233 to your computer and use it in GitHub Desktop.
Multiple memcached instances systemd script
[Unit]
Description=memcached daemon for %i
After=network.target
[Service]
ExecStart=/usr/share/memcached/scripts/systemd-memcached-wrapper /etc/memcached_%i.conf
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment