Skip to content

Commit 875fa5a

Browse files
authored
Create wall.service
1 parent d9bc750 commit 875fa5a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

etc/wall.service

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[Unit]
2+
Description=gunicorn daemon
3+
After=network.target
4+
5+
[Service]
6+
User=root
7+
Group=root
8+
WorkingDirectory=<DIR>
9+
ExecStart=/usr/local/bin/gunicorn --bind 0.0.0.0:80 server:app --capture-output
10+
Restart=always
11+
RestartSec=5s
12+
13+
14+
[Install]
15+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)