Loading package/bandwidthd/bandwidthd.mk +10 −0 Original line number Diff line number Diff line Loading @@ -31,4 +31,14 @@ else BANDWIDTHD_CONF_OPTS += --with-sqlite-storage=false endif define BANDWIDTHD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/bandwidthd/bandwidthd.service \ $(TARGET_DIR)/usr/lib/systemd/system/bandwidthd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf /usr/lib/systemd/system/bandwidthd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bandwidthd.service endef $(eval $(autotools-package)) package/bandwidthd/bandwidthd.service 0 → 100644 +11 −0 Original line number Diff line number Diff line [Unit] Description=Bandwidth usage monitor and reporter After=network.target [Service] Type=forking ExecStart=/usr/bin/bandwidthd PIDFile=/var/run/bandwidthd.pid [Install] WantedBy=multi-user.target Loading
package/bandwidthd/bandwidthd.mk +10 −0 Original line number Diff line number Diff line Loading @@ -31,4 +31,14 @@ else BANDWIDTHD_CONF_OPTS += --with-sqlite-storage=false endif define BANDWIDTHD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/bandwidthd/bandwidthd.service \ $(TARGET_DIR)/usr/lib/systemd/system/bandwidthd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf /usr/lib/systemd/system/bandwidthd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bandwidthd.service endef $(eval $(autotools-package))
package/bandwidthd/bandwidthd.service 0 → 100644 +11 −0 Original line number Diff line number Diff line [Unit] Description=Bandwidth usage monitor and reporter After=network.target [Service] Type=forking ExecStart=/usr/bin/bandwidthd PIDFile=/var/run/bandwidthd.pid [Install] WantedBy=multi-user.target