diff --git a/systemd-service-files/README.md b/systemd-service-files/README.md new file mode 100644 index 0000000..3d7a3a0 --- /dev/null +++ b/systemd-service-files/README.md @@ -0,0 +1,9 @@ +# Systemd service files + +1. Fill in the template file of your choide. +2. Name is something better than `uwsgi.service`, but make sure it ends in `.service` +3. Copy it to `/etc/systemd/system/`. +4. Run `systemctl daemon-reload` to reload the files in the directory. This will add new service files if they were not there before, and update existing ones if that file has been updated. +5. Do whatever you want with your new service! Run `systemctl start/restart/stop/enable/disable myapp` to start/restart/stop/run at boot/stop running at boot your application. + +Have fun!