Marcus Meissner
602b97c385
- remove sysv init case - move memcache binary to %{_bindir} like on Debian and RHEL like distributions OBS-URL: https://build.opensuse.org/request/show/1007658 OBS-URL: https://build.opensuse.org/package/show/network:utilities/memcached?expand=0&rev=95
24 lines
586 B
Desktop File
24 lines
586 B
Desktop File
[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_USER $MEMCACHED_PARAMS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|