[Unit] Description=memcached daemon After=network.target [Service] # added automatically, for details please see # https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort ProtectSystem=full ProtectHome=true PrivateDevices=true ProtectHostname=true ProtectClock=true ProtectKernelTunables=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true RestrictRealtime=true # end of automatic additions EnvironmentFile=-/etc/sysconfig/memcached ExecStart=/usr/bin/memcached -u memcached -p 11211 -m 1024 -c 64 -l 127.0.0.1 [Install] WantedBy=multi-user.target