Topic: memcached - error in systemd service file
/usr/lib/systemd/system/memcached.service
Bundled:
[Unit]
After=network.target
Should be:
[Unit]
After=network-online.target
Reason:
network.target has very little meaning during start-up. It only indicates that the network management stack is up after it has been reached. Whether any network interfaces are already configured when it is reached is undefined
@see: https://www.freedesktop.org/wiki/Softwa … orkTarget/
When it fails:
when you tryu to bind memcache to specific IP
Ex:
> cat /etc/sysconfig/memcached | grep OPT
OPTIONS="-l 10.118.9.66"
PS:
This issue also applies to ALL *service files,
Just replace network.target with network-online.target