aboutsummaryrefslogtreecommitdiff
path: root/autoaid.service
diff options
context:
space:
mode:
Diffstat (limited to 'autoaid.service')
-rw-r--r--autoaid.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/autoaid.service b/autoaid.service
new file mode 100644
index 0000000..0783144
--- /dev/null
+++ b/autoaid.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=AutoAid Python App
+After=network.target
+
+[Service]
+User=ec2-user
+WorkingDirectory=/home/ec2-user/dep-dir
+ExecStart=/usr/bin/python3 /home/ec2-user/dep-dir/app.py
+Restart=always
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file