Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
user:kluong:running_a_service_in_production [2022/10/12 18:16] kluong [Running a service] |
user:kluong:running_a_service_in_production [2022/10/12 18:20] (current) kluong |
||
---|---|---|---|
Line 38: | Line 38: | ||
This could be installed in `/etc/systemd/system/example-app.service` | This could be installed in `/etc/systemd/system/example-app.service` | ||
+ | |||
+ | After installing it, you can reload the config: | ||
+ | |||
+ | <code> | ||
+ | systemctl daemon-reload | ||
+ | systemctl start example-app.service | ||
+ | </code> | ||
Line 48: | Line 55: | ||
{{ :user:kluong:codebase-deploys.png?200 |}} | {{ :user:kluong:codebase-deploys.png?200 |}} | ||
- | |||
- | |||