Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Small service that creates a directory
- After=syslog.target network.target
- [Service]
- Environment=FLASK_CONFIG=production
- Environment=FLASK_APP=dircreate
- User=dircreate
- WorkingDirectory=/opt/dircreate
- ExecStart=/opt/createdir/venv/bin/gunicorn -b localhost:5000 "dircreate:create_app()"
- Restart=always
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement