diff options
| author | Michael Aldridge <aldridge.mac@gmail.com> | 2019-11-08 21:15:51 -0800 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-10 05:43:05 -0300 |
| commit | afa07e42e00e1bf4ad4f1a2a3e8c6c2ea72f456c (patch) | |
| tree | 616a951dcacab6c0b56875fd530e0fb9518ae7fd /testing/nscd/nscd.initd | |
| parent | 9fcc748e66782e79571331fc7c349030fa43781d (diff) | |
| download | aports-afa07e42e00e1bf4ad4f1a2a3e8c6c2ea72f456c.tar.bz2 aports-afa07e42e00e1bf4ad4f1a2a3e8c6c2ea72f456c.tar.xz | |
testing/nscd: new aport
Diffstat (limited to 'testing/nscd/nscd.initd')
| -rw-r--r-- | testing/nscd/nscd.initd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/nscd/nscd.initd b/testing/nscd/nscd.initd new file mode 100644 index 0000000000..d917cbc062 --- /dev/null +++ b/testing/nscd/nscd.initd @@ -0,0 +1,10 @@ +#!/sbin/openrc-run + +name="$SVCNAME" +command="/usr/sbin/nscd" +command_args="${NSCD_OPTS:--d -p /var/run/$SVCNAME.pid}" +pidfile="/var/run/$SVCNAME.pid" + +start_pre() { + mkdir -p /var/run/nscd +} |
