質問編集履歴

1

邪魔な箇所削除

2020/05/09 22:08

投稿

doubledouble
doubledouble

スコア10

test CHANGED
File without changes
test CHANGED
@@ -7,53 +7,3 @@
7
7
  gunicornをauto-reloadさせるベストな方法はなんでしょうか?
8
8
 
9
9
  よろしくおねがいします
10
-
11
-
12
-
13
- gunicorn.service
14
-
15
-
16
-
17
- ```
18
-
19
- [Unit]
20
-
21
- Description=gunicorn daemon
22
-
23
- Requires=gunicorn.socket
24
-
25
- After=network.target
26
-
27
-
28
-
29
- [Service]
30
-
31
- Environment=SECRET_KEY=secret
32
-
33
- PIDFile=/run/gunicorn/pid
34
-
35
- User=ubuntu
36
-
37
- Group=ubuntu
38
-
39
- RuntimeDirectory=gunicorn
40
-
41
- RuntimeDirectoryMode=0775
42
-
43
- WorkingDirectory=/home/ubuntu/myapp/
44
-
45
- ExecStart=/bin/bash /home/ubuntu/.pyenv/shims/gunicorn --pid /run/gunicorn/pid --bind unix:/run/gunicorn/socket myapp.wsgi
46
-
47
- ExecReload=/bin/kill -s HUP $MAINPID
48
-
49
- ExecStop=/bin/kill -s TERM $MAINPID
50
-
51
- PrivateTmp=true
52
-
53
-
54
-
55
- [Install]
56
-
57
- WantedBy=multi-user.target
58
-
59
- ```