diff --git a/SimpleHTTPServerWithUpload.py b/SimpleHTTPServerWithUpload.py old mode 100644 new mode 100755 diff --git a/SimpleHTTPServerWithUpload.service b/SimpleHTTPServerWithUpload.service index a024483..b9a17a6 100644 --- a/SimpleHTTPServerWithUpload.service +++ b/SimpleHTTPServerWithUpload.service @@ -3,7 +3,7 @@ Description=Simple HTTP Server With Upload [Service] ExecStart=/bin/SimpleHTTPServerWithUpload.sh -Restart=Always +Restart=always [Install] WantedBy=multi-user.target diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index a655f01..cd80cce --- a/install.sh +++ b/install.sh @@ -6,4 +6,5 @@ chmod -v +x /bin/SimpleHTTPServerWithUpload.py chmod -v +x /bin/SimpleHTTPServerWithUpload.sh chmod -v 644 /lib/systemd/system/SimpleHTTPServerWithUpload.service systemctl enable SimpleHTTPServerWithUpload -exit \ No newline at end of file +systemctl start SimpleHTTPServerWithUpload +exit