Commit 7c423689 authored by Ondřej Surý's avatar Ondřej Surý

Fix bin to sbin in scripts

parent 712d5395
......@@ -45,7 +45,7 @@ cache:
- ${HOME}/.local
- ${HOME}/.cache/pip
before_cache:
- rm -f ${HOME}/.local/bin/kresd
- rm -f ${HOME}/.local/sbin/kresd
- rm -f ${HOME}/.local/lib/libkres.a
- rm -rf ${HOME}/.local/include/libkres
- rm -rf ${HOME}/.local/lib/kdns_modules
......@@ -14,7 +14,7 @@ EXPOSE 53
# Select entrypoint
WORKDIR /data
CMD ["/usr/local/bin/kresd"]
CMD ["/usr/local/sbin/kresd"]
# Install dependencies and sources
RUN \
......
#include <tunables/global>
/usr/bin/kresd {
/usr/sbin/kresd {
#include <abstractions/base>
#include <abstractions/p11-kit>
#include <abstractions/nameservice>
......@@ -28,6 +28,6 @@
/usr/lib{,64}/kdns_modules/tinyweb/* r,
/var/lib/GeoIP/* r,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.bin.kresd>
#include <local/usr.sbin.kresd>
}
......@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/kresd
ExecStart=/usr/bin/kresd -c /etc/kresd/config -f $KRESD_WORKERS $KRESD_OPTIONS /var/lib/kresd/
ExecStart=/usr/sbin/kresd -c /etc/kresd/config -f $KRESD_WORKERS $KRESD_OPTIONS /var/lib/kresd/
Restart=on-abort
[Install]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment