diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 10:43:38 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 10:43:38 -0600 |
commit | df4e812dc7f73eb37a86ea5525b3f15f53346b79 (patch) | |
tree | eb6b9dd79e982bdc3df448b596f28213ee12659f /autoaid.service | |
parent | a924ac2766e12d1b28c1bb69178b8b25039c4c0b (diff) |
add service files
Diffstat (limited to 'autoaid.service')
-rw-r--r-- | autoaid.service | 12 |
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 |