Created
May 4, 2016 11:57
-
-
Save ricsiga/0be5434cae0fabfeaa657871a12cfb8e to your computer and use it in GitHub Desktop.
repcached systemd unit file example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=repcached - add data replication feature to memcached 1.2.x | |
After=network.target | |
[Service] | |
ExecStart=/opt/repcached/bin/memcached -m 256 -p 11211 -u root -P /var/run/memcachedrep.pid -x 1.2.3.4 -d | |
Type=forking | |
PIDFile=/var/run/memcachedrep.pid | |
Restart=always | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment