flagflag  If you want to see English page, please click "English" Button at Left.
4: 2022-03-07 (月) 15:01:29 iseki ソース 5: 2022-04-21 (木) 08:58:21 iseki ソース
Line 40: Line 40:
**** 失敗 [#ybbf8460] **** 失敗 [#ybbf8460]
- %%月一または週一%% 毎日で以下の cronを流す. - %%月一または週一%% 毎日で以下の cronを流す.
--- %%00 3 1 * * /usr/bin/certbot renew 1>/dev/null 2>&1 && /etc/init.d/httpd restart 1>/dev/null 2>&1%%+-- %%00 3 * * * /usr/bin/certbot renew 1>/dev/null 2>&1 && /etc/init.d/httpd restart 1>/dev/null 2>&1%%
-- これだと 更新が無い場合も httpd が再起動する. -- これだと 更新が無い場合も httpd が再起動する.
#br #br
Line 46: Line 46:
**** 正解は以下 [#l9205dc3] **** 正解は以下 [#l9205dc3]
- cron - cron
 + 00 3 * * * /usr/local/sbin/certbot renew --post-hook "/etc/init.d/httpd restart" 1>/dev/null 2>&1
 +
 +
 +**** for Jupyterhub [#i691e1cc]
 05 4 * * * /usr/bin/certbot renew --post-hook "touch /tmp/certs_changed" 1>/dev/null 2>&1 && /usr/local/bin/restart-network-service 1>/dev/null 2>&1  05 4 * * * /usr/bin/certbot renew --post-hook "touch /tmp/certs_changed" 1>/dev/null 2>&1 && /usr/local/bin/restart-network-service 1>/dev/null 2>&1
- /usr/local/bin/restart-network-service - /usr/local/bin/restart-network-service


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

77 人のユーザが現在オンラインです。 (17 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 77

もっと...

アクセスカウンタ

今日 : 1577157715771577
昨日 : 1615016150161501615016150
総計 : 2348087023480870234808702348087023480870234808702348087023480870
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com