Changes

Jump to navigation Jump to search
no edit summary
Line 9: Line 9:     
  yum --enablerepo=epel install memcached php*-pecl-memcached
 
  yum --enablerepo=epel install memcached php*-pecl-memcached
 +
properly configure the service to run
 +
 
  config set memcached service status enabled TCPPort 11211 access local
 
  config set memcached service status enabled TCPPort 11211 access local
  mkdir -p /usr/lib/systemd/system/memcached.d
+
  mkdir -p /usr/lib/systemd/system/memcached.service.d
  nano 50koozali.conf
+
  printf "[Install]\nWantedBy=sme-server.target" >/usr/lib/systemd/system/memcached.service.d/50koozali.conf
   −
Paste and save
+
apply changes and start
 
  −
[Install]
  −
WantedBy=sme-server.target
  −
 
  −
And ugrade;reboot
  −
 
  −
signal-event post-upgrade;signal-event reboot
      +
/etc/e-smith/events/actions/systemd-default
 +
systemctl enable --now memcached
 
Check it is running
 
Check it is running
   
  systemctl status memcached
 
  systemctl status memcached
  
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu