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.
604 B
604 B
Systemd service files
- Copy the servide file and name it something better than
uwsgi.service
(for example); make sure it ends in.service
- Fill in the newly-copied service file.
- Copy it to
/etc/systemd/system/
. - 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. - 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!