diff options
Diffstat (limited to 'memcached.service')
-rw-r--r-- | memcached.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/memcached.service b/memcached.service new file mode 100644 index 0000000..ee5198d --- /dev/null +++ b/memcached.service @@ -0,0 +1,12 @@ +[Unit] +Description=Memcached +Before=httpd.service +After=network.target + +[Service] +Type=simple +EnvironmentFile=-/etc/sysconfig/memcached +ExecStart=/usr/bin/memcached -u $USER -p $PORT -m $CACHESIZE -c $MAXCONN $OPTIONS + +[Install] +WantedBy=multi-user.target |