- Use the MEMCACHED_USER variable from the /etc/sysconfig/memcached file to determine the user for the memcached process instead of hardcoding it in the service file. OBS-URL: https://build.opensuse.org/request/show/482290 OBS-URL: https://build.opensuse.org/package/show/network:utilities/memcached?expand=0&rev=37
11 lines
214 B
Desktop File
11 lines
214 B
Desktop File
[Unit]
|
|
Description=memcached daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/sysconfig/memcached
|
|
ExecStart=/usr/sbin/memcached -u $MEMCACHED_USER $MEMCACHED_PARAMS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|