mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
397 B
13 lines
397 B
[Unit]
|
|
Description=Free & open source, high-performance, distributed memory object caching system.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-{$SERVER_PATH}/memcached/memcached.env
|
|
ExecStart={$SERVER_PATH}/memcached/bin/memcached -d -p $PORT -u $USER -m $CACHESIZE -c $MAXCONN $OPTIONS
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |