Projet

Général

Profil

0001-debian-init.d-be-more-specific-on-uwsgi-daemon-29247.patch

Thomas Noël, 20 décembre 2018 10:52

Télécharger (1000 octets)

Voir les différences:

Subject: [PATCH] debian/init.d: be more specific on uwsgi daemon (#29247)

 debian/wcs.init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
debian/wcs.init
70 70
    #   0 if daemon has been started
71 71
    #   1 if daemon was already running
72 72
    #   2 if daemon could not be started
73
    start-stop-daemon --start --quiet --exec $DAEMON -- \
73
    start-stop-daemon --start --quiet --user $USER --exec $DAEMON -- \
74 74
        $DAEMON_ARGS \
75 75
        || return 2
76 76
}
......
130 130
    esac
131 131
    ;;
132 132
  status)
133
    status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
133
    status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 || exit $?
134 134
    ;;
135 135
  reload|force-reload)
136 136
    #
137
-