summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-04 17:46:33 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-05 10:57:56 (GMT)
commita01526bc252ba00a6ce59c40636d8210f29dd965 (patch)
tree3c1ebc9335734b999f81ffb3c9d6dac054e4cab7
parent1a11232780957e5ab725b68cfb185eaa22f2020e (diff)
downloaddefinitions-a01526bc252ba00a6ce59c40636d8210f29dd965.tar.gz
Put memcached unit in /usr/lib/systemd/systembaserock/richardipsum/put-units-in-usr-lib-v2
Units of installed packages should go in /usr/lib, /etc is for local config
-rw-r--r--strata/databases/memcached.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/databases/memcached.morph b/strata/databases/memcached.morph
index 5d55b72..f1cb287 100644
--- a/strata/databases/memcached.morph
+++ b/strata/databases/memcached.morph
@@ -8,7 +8,7 @@ configure-commands:
- ./configure --prefix="$PREFIX"
install-commands:
- make install
-- install -D -m 755 scripts/memcached.service "$DESTDIR"/etc/systemd/system/memcached.service
+- install -D -m 755 scripts/memcached.service "$DESTDIR$PREFIX"/lib/systemd/system/memcached.service
post-install-commands:
- mkdir -p "$DESTDIR"/etc/sysconfig
- |