Updated copyright info, added separators and missing exports
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# Services manipulation functions
|
||||
# This file is part of the init.sh project
|
||||
# Copyright (c) 2019-2022 Geoffray Levasseur <fatalerrors@geoffray-levasseur.org>
|
||||
# Copyright (c) 2019-2024 Geoffray Levasseur <fatalerrors@geoffray-levasseur.org>
|
||||
# ------------------------------------------------------------------------------
|
||||
# This file is distributed under 3-clause BSD license.
|
||||
# The complete license agreement can be obtained at:
|
||||
@@ -34,6 +34,7 @@ exec_serv()
|
||||
unset lineexec
|
||||
}
|
||||
export exec_serv
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -47,6 +48,7 @@ svc_start()
|
||||
unset svc
|
||||
}
|
||||
export -f svc_start
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -58,6 +60,7 @@ svc_reload()
|
||||
done
|
||||
}
|
||||
export -f svc_reload
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -71,6 +74,7 @@ svc_restart()
|
||||
unset svc
|
||||
}
|
||||
export -f svc_restart
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -84,5 +88,6 @@ svc_stop()
|
||||
unset svc
|
||||
}
|
||||
export -f svc_stop
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
# EOF
|
||||
|
||||
Reference in New Issue
Block a user