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

(-)a/app-emulation/lxd/files/lxd-2.5.initd (-2 / +2 lines)
Lines 1-5 Link Here
1
#!/sbin/openrc-run
1
#!/sbin/openrc-run
2
# Copyright 1999-2016 Gentoo Foundation
2
# Copyright 1999-2017 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Id$
4
# $Id$
5
5
Lines 31-37 start() { Link Here
31
}
31
}
32
32
33
stop() {
33
stop() {
34
    if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
34
    if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then
35
	stopall
35
	stopall
36
    else
36
    else
37
	ebegin "Stopping lxd service (but not containers)"
37
	ebegin "Stopping lxd service (but not containers)"
(-)a/app-emulation/lxd/files/lxd-2.7.initd (-1 / +1 lines)
Lines 31-37 start() { Link Here
31
}
31
}
32
32
33
stop() {
33
stop() {
34
    if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
34
    if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then
35
	stopall
35
	stopall
36
    else
36
    else
37
	ebegin "Stopping lxd service (but not containers)"
37
	ebegin "Stopping lxd service (but not containers)"
(-)a/app-emulation/lxd/files/lxd-2.8.initd (-1 / +1 lines)
Lines 31-37 start() { Link Here
31
}
31
}
32
32
33
stop() {
33
stop() {
34
    if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
34
    if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then
35
	stopall
35
	stopall
36
    else
36
    else
37
	ebegin "Stopping lxd service (but not containers)"
37
	ebegin "Stopping lxd service (but not containers)"

Return to bug 609146