mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
16 lines
534 B
Markdown
16 lines
534 B
Markdown
|
# 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.
|
||
|
|
||
|
- Copy credentials from one other containers to apphub container
|
||
|
|
||
|
## Test it
|
||
|
|
||
|
```
|
||
|
export install_path="/data/websoft9/source"
|
||
|
sudo cp -r $install_path/systemd/script/* "$systemd_path"
|
||
|
sudo cp -f "$install_path/systemd/websoft9.service" /lib/systemd/system/
|
||
|
sudo systemctl daemon-reload
|
||
|
sudo systemctl enable websoft9.service
|
||
|
sudo systemctl start websoft9
|
||
|
```
|