From 04a64216f6e98a46cf331edc8109ee0452664900 Mon Sep 17 00:00:00 2001 From: Son Date: Mon, 20 May 2024 15:19:50 -0400 Subject: [PATCH] entrypoint: fix sogod chmod path and add license --- LICENSE.md | 22 ++++++++++++++++++++++ scripts/entrypoint.sh | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..5185b9f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 38ae45c..2ae64de 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -36,7 +36,7 @@ chmod 750 /etc/sogo chown root:sogo /etc/sogo chmod 640 /etc/sogo/sogo.conf chown root:sogo /etc/sogo/sogo.conf -chmod +x /usr/sbin/sogod +chmod +x /usr/local/sbin/sogod # Start supervisor /usr/bin/supervisord -c /opt/supervisord.conf \ No newline at end of file