Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
294d19e0
Commit
294d19e0
authored
Aug 21, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename whats_next.py to status_checks.py
parent
6b52105b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
buy_certificate.py
management/buy_certificate.py
+1
-1
daemon.py
management/daemon.py
+1
-1
status_checks.py
management/status_checks.py
+0
-0
web_update.py
management/web_update.py
+1
-1
start.sh
setup/start.sh
+1
-1
No files found.
management/buy_certificate.py
View file @
294d19e0
...
...
@@ -14,7 +14,7 @@ import rtyaml
from
utils
import
load_environment
,
shell
from
web_update
import
get_web_domains
,
get_domain_ssl_files
,
get_web_root
from
whats_next
import
check_certificate
from
status_checks
import
check_certificate
def
buy_ssl_certificate
(
api_key
,
domain
,
command
,
env
):
if
domain
!=
env
[
'PRIMARY_HOSTNAME'
]
\
...
...
management/daemon.py
View file @
294d19e0
...
...
@@ -191,7 +191,7 @@ def web_update():
@
app
.
route
(
'/system/status'
,
methods
=
[
"POST"
])
@
authorized_personnel_only
def
system_status
():
from
whats_next
import
run_checks
from
status_checks
import
run_checks
class
WebOutput
:
def
__init__
(
self
):
self
.
items
=
[]
...
...
management/
whats_next
.py
→
management/
status_checks
.py
View file @
294d19e0
File moved
management/web_update.py
View file @
294d19e0
...
...
@@ -140,7 +140,7 @@ def get_domain_ssl_files(domain, env):
# a Subject Alternative Name matching this domain. Don't do this if
# the user has uploaded a different private key for this domain.
if
not
ssl_key_is_alt
:
from
whats_next
import
check_certificate
from
status_checks
import
check_certificate
if
check_certificate
(
domain
,
ssl_certificate_primary
,
None
)
==
"OK"
:
ssl_certificate
=
ssl_certificate_primary
...
...
setup/start.sh
View file @
294d19e0
...
...
@@ -329,7 +329,7 @@ echo Your Mail-in-a-Box is running.
echo
echo
Please log
in
to the control panel
for
further instructions at:
echo
if
management/
whats_next
.py
--check-primary-hostname
;
then
if
management/
status_checks
.py
--check-primary-hostname
;
then
# Show the nice URL if it appears to be resolving and has a valid certificate.
echo
https://
$PRIMARY_HOSTNAME
/admin
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment