diff options
Diffstat (limited to 'testing/memcached/memcached.install')
-rw-r--r-- | testing/memcached/memcached.install | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/memcached/memcached.install b/testing/memcached/memcached.install deleted file mode 100644 index 6009b713f..000000000 --- a/testing/memcached/memcached.install +++ /dev/null @@ -1,22 +0,0 @@ -post_install() { - if ! getent group memcached >/dev/null; then - groupadd --system memcached - fi - if ! getent passwd memcached >/dev/null; then - useradd --system -c 'memcached user' -g memcached -d / -s /bin/bash memcached - passwd -l memcached >/dev/null - fi -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - if getent passwd memcached >/dev/null; then - userdel memcached - fi - if getent group memcached >/dev/null; then - groupdel memcached - fi -} |