parent
ea07c13b7a
commit
558dbc5426
@ -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!
|
Loading…
Reference in new issue