From 558dbc54262cf64f1dded6f8c2a525b6a0489d93 Mon Sep 17 00:00:00 2001 From: Tait Hoyem Date: Fri, 25 Feb 2022 18:20:11 -0700 Subject: [PATCH] Add readme for service files --- systemd-service-files/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 systemd-service-files/README.md 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!