]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Look for "nologin" in the right place, duh.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 3 Jul 2022 14:24:05 +0000 (15:24 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 3 Jul 2022 14:24:05 +0000 (15:24 +0100)
Makefile.am

index 69a8ebe86d89f6f94c4235376b0c9943bcb6b5a4..e5674d2b09d54af9d240b9bc6fb1eae680fc6d49 100644 (file)
@@ -228,13 +228,13 @@ endif
 endif
 if INSTALL_SYSTEMV
        getent group shairport-sync &>/dev/null || groupadd -r shairport-sync >/dev/null
-       getent passwd shairport-sync &> /dev/null || useradd -r -M -g shairport-sync -s /usr/bin/nologin -G audio shairport-sync >/dev/null
+       getent passwd shairport-sync &> /dev/null || useradd -r -M -g shairport-sync -s /usr/sbin/nologin -G audio shairport-sync >/dev/null
        [ -e $(DESTDIR)$(sysconfdir)/init.d ] || mkdir -p $(DESTDIR)$(sysconfdir)/init.d
        [ -e $(DESTDIR)$(sysconfdir)/init.d/shairport-sync ] || cp scripts/shairport-sync $(DESTDIR)$(sysconfdir)/init.d/
 endif
 if INSTALL_SYSTEMD
        getent group shairport-sync &>/dev/null || groupadd -r shairport-sync >/dev/null
-       getent passwd shairport-sync &> /dev/null || useradd -r -M -g shairport-sync -s /usr/bin/nologin -G audio shairport-sync >/dev/null
+       getent passwd shairport-sync &> /dev/null || useradd -r -M -g shairport-sync -s /usr/sbin/nologin -G audio shairport-sync >/dev/null
        [ -e $(DESTDIR)$(systemdsystemunitdir) ] || mkdir -p $(DESTDIR)$(systemdsystemunitdir)
 if USE_AVAHI
        [ -e $(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service ] || cp scripts/shairport-sync.service-avahi $(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service