From 2f8271e636010c599946d4c458e64569965f3c46 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 23 May 2019 21:19:28 -0600 Subject: [PATCH] error code reference --- backup_new.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/backup_new.sh b/backup_new.sh index a339891..f07b846 100755 --- a/backup_new.sh +++ b/backup_new.sh @@ -180,4 +180,12 @@ printf "${cyan}[%s] -- [INFO] Log located at ${yellow}%s${cyan} --${norm}\n" \ -exit 0 \ No newline at end of file +exit 0 + +### error codes +# 1: parameter error +# 2: not run as root +# 100: could not start seafile service +# 101: could not start seahub service +# 102: could not stop seafile service +# 103: could not stop seahub service \ No newline at end of file