2012-08-14 17:57:28 +02:00
|
|
|
[Unit]
|
|
|
|
Description=memcached daemon
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-10-29 16:02:17 +02:00
|
|
|
# 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
|
2012-08-14 17:57:28 +02:00
|
|
|
EnvironmentFile=/etc/sysconfig/memcached
|
2022-11-15 16:36:46 +01:00
|
|
|
ExecStart=/usr/bin/memcached -u $MEMCACHED_USER $MEMCACHED_PARAMS
|
2012-08-14 17:57:28 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|