我想知道为什么"不要设置-e"在/etc/init.d/skeleton存在,因为我认为这总是很好的做法。
#! /bin/sh
### BEGIN INIT INFO
# Provides: skeleton
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
### END INIT INFO
# Author: Foo Bar <foobar@baz.org>
#
# Please remove the "Author" lines above and replace them
# with your own name if you copy and modify this script.
# Do NOT "set -e"
Debian wiki推荐它(https://wiki.debian.org/LSBInitScripts/StatusSupport)所以我不知道该怎么做。