Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 936265
Collapse All | Expand All

(-)openhab-bin-4.2.0.ebuild (-1 / +8 lines)
Lines 71-77 Link Here
71
71
72
	systemd_dounit "${FILESDIR}"/openhab.service
72
	systemd_dounit "${FILESDIR}"/openhab.service
73
	newtmpfiles "${FILESDIR}"/openhab.tmpfiles openhab.conf
73
	newtmpfiles "${FILESDIR}"/openhab.tmpfiles openhab.conf
74
74
	doinitd "${FILESDIR}"/openhab
75
	newbin - openhab <<EOF
75
	newbin - openhab <<EOF
76
#!/usr/bin/env bash
76
#!/usr/bin/env bash
77
set -eu
77
set -eu
Lines 120-124 Link Here
120
		if [[ -v openhab_service_active ]]; then
120
		if [[ -v openhab_service_active ]]; then
121
			edob systemctl start openhab
121
			edob systemctl start openhab
122
		fi
122
		fi
123
	else
124
		ewarn "non-systemd users please note:"
125
		ewarn "please manually stop openhab service then check ophab user permissions and clean cache"
126
		ewarn "openhab-cli info"
127
		ewarn "openhab-cli reset-ownership"
128
		ewarn "openhab-cli clean-cache"
129
		ewarn "then restart openhab"
123
	fi
130
	fi
124
}
131
}

Return to bug 936265