You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
604 B
10 lines
604 B
# Systemd service files
|
|
|
|
1. Copy the servide file and name it something better than `uwsgi.service` (for example); make sure it ends in `.service`
|
|
2. Fill in the newly-copied service file.
|
|
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!
|