Skip to contentSkip to conversation

package/minidlna: Do not mark .service file executable

PATCH New Andrey Smirnov 2 participants 4 messages Aug 24, 2017 – Sep 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/minidlna: Do not mark .service file executable

Do not mark .service file executable, otherwise systemd will give us a warning about it.

---
 package/minidlna/minidlna.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/minidlna/minidlna.mk +1 -1
index d0d9136b44..d2bc9f50c7 100644
@@ -29,7 +29,7 @@ define MINIDLNA_INSTALL_INIT_SYSV
 endef
 
 define MINIDLNA_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -D -m 0755 package/minidlna/minidlnad.service \
+	$(INSTALL) -D -m 0644 package/minidlna/minidlnad.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service
 
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
Signature · 1 line
2.13.5
#1 lore raw

PATCH 2/3 package/transmission: Do not mark .service file executable

Do not mark .service file executable, otherwise systemd will give us a warning about it.

---
 package/transmission/transmission.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/transmission/transmission.mk +1 -1
index f8abb2b8ba..0fce642a03 100644
@@ -64,7 +64,7 @@ define TRANSMISSION_INSTALL_INIT_SYSV
 endef
 
 define TRANSMISSION_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -D -m 0755 $(@D)/daemon/transmission-daemon.service \
+	$(INSTALL) -D -m 0644 $(@D)/daemon/transmission-daemon.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/transmission-daemon.service
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
 	ln -fs ../../../../usr/lib/systemd/system/transmission-daemon.service \
Signature · 1 line
2.13.5
#2 lore raw

PATCH 3/3 package/nss-pam-ldapd: Do not mark .service file executable

In reply to Andrey Smirnov

Do not mark .service file executable, otherwise systemd will give us a warning about it.

---
 package/nss-pam-ldapd/nss-pam-ldapd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/nss-pam-ldapd/nss-pam-ldapd.mk +1 -1
index 1c4f73521a..3eddb5e2a1 100644
@@ -27,7 +27,7 @@ NSS_PAM_LDAPD_CONF_OPTS += --disable-pam
 endif
 
 define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -m 755 -D package/nss-pam-ldapd/nslcd.service \
+	$(INSTALL) -m 644 -D package/nss-pam-ldapd/nslcd.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/nslcd.service
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
 	ln -fs ../../../../usr/lib/systemd/system/nslcd.service \
Signature · 1 line
2.13.5