Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Jdownloader2
(view source)
Revision as of 10:42, 16 August 2015
352 bytes removed
,
10:42, 16 August 2015
→start at boot time
Line 109:
Line 109:
kill -15 $(cat "$PIDFILE") && rm -f "$PIDFILE"
kill -15 $(cat "$PIDFILE") && rm -f "$PIDFILE"
echo 'Service stopped' >&2
echo 'Service stopped' >&2
−
}
−
−
uninstall() {
−
echo -n "Are you really sure you want to uninstall this service? That cannot be undone. [yes|No] "
−
local SURE
−
read SURE
−
if [ "$SURE" = "yes" ]; then
−
stop
−
rm -f "$PIDFILE"
−
echo "Notice: log file is not be removed: '$LOGFILE'" >&2
−
update-rc.d -f <NAME> remove
−
rm -fv "$0"
−
fi
}
}
Line 148:
Line 135:
status)
status)
status
status
−
;;
−
uninstall)
−
uninstall
;;
;;
restart)
restart)
Line 157:
Line 141:
;;
;;
*)
*)
−
echo "Usage: $0 {start|stop|status|restart
|uninstall
}"
+
echo "Usage: $0 {start|stop|status|restart}"
esac
esac
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version