Skip to content

Commit 15325f2

Browse files
committed
Add service file
1 parent a3d852c commit 15325f2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

mary.service

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Unit]
2+
Description=Mary Poppins Flask App
3+
After=network.target
4+
5+
[Service]
6+
Type=simple
7+
Restart=always
8+
RestartSec=5
9+
ExecStart=/usr/bin/python /home/jams/flask_mary/mary.py
10+
Environment=PYTHONPATH=/home/jams/bin:$PYTHONPATH
11+
12+
[Install]
13+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)