websoft9/systemd/README.md

22 lines
911 B
Markdown
Raw Permalink Normal View History

2023-09-19 10:12:37 +00:00
# Systemd
This is the Websoft9 system service that run some proxy services on the host machine for Websoft9 to solve the problem that the API cannot handle.
2023-09-26 10:21:45 +00:00
- Copy credentials from one other containers to apphub container
## Test it
```
export install_path="/data/websoft9/source"
2023-10-10 10:25:00 +00:00
sudo cp -r $install_path/systemd/script/* "$systemd_path"
sudo cp -f "$install_path/systemd/websoft9.service" /lib/systemd/system/
2023-09-26 10:21:45 +00:00
sudo systemctl daemon-reload
sudo systemctl enable websoft9.service
sudo systemctl start websoft9
2023-10-18 05:03:06 +00:00
```
## Develop it
* [systemd.exec — Execution environment configuration](https://www.freedesktop.org/software/systemd/man/systemd.exec.html)
* [systemd.unit — Unit configuration](https://www.freedesktop.org/software/systemd/man/systemd.unit.html)
* [systemd.service — Service unit configuration](https://www.freedesktop.org/software/systemd/man/systemd.service.html)