Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0afe100

Browse files
committed
Remove nginx.disable_vhost() task
It's no longer used.
1 parent0672602 commit0afe100

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎nginx.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ def gracefulrestart():
1515
gracefulstop()
1616
start()
1717

18-
@task
19-
defdisable_vhost(vhost_filename):
20-
"""Disable a vhost by removing its symlink from /etc/nginx/sites-enabled"""
21-
sudo('rm -f /etc/nginx/sites-enabled/%s'%vhost_filename)
22-
2318
@task
2419
defkill():
2520
"""Shut down Nginx immediately without waiting for it to finish running"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp