mirror of
https://github.com/YGGverse/pulsarss.git
synced 2026-03-31 17:15:29 +00:00
update readme
This commit is contained in:
parent
269914ac16
commit
e45b8d26fc
1 changed files with 10 additions and 3 deletions
11
README.md
11
README.md
|
|
@ -39,6 +39,11 @@ pulsarss --source https://path/to/feed.rss --index index.gmi
|
||||||
|
|
||||||
#### systemd
|
#### systemd
|
||||||
|
|
||||||
|
1. Install `pulsarss` by copy the binary compiled into the system destination:
|
||||||
|
* Linux: `sudo cp /home/user/.cargo/bin/pulsarss /usr/local/bin`
|
||||||
|
|
||||||
|
2. Create `systemd` configuration file:
|
||||||
|
|
||||||
``` /etc/systemd/system/pulsarss.service
|
``` /etc/systemd/system/pulsarss.service
|
||||||
# /etc/systemd/system/pulsarss.service
|
# /etc/systemd/system/pulsarss.service
|
||||||
|
|
||||||
|
|
@ -55,6 +60,8 @@ ExecStart=pulsarss -s https://path/to/feed.rss -i index.gmi
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
|
3. Run in priority:
|
||||||
* `systemctl daemon-reload` - reload systemd configuration
|
* `systemctl daemon-reload` - reload systemd configuration
|
||||||
* `systemctl enable pulsarss` - enable service on system startup
|
* `systemctl enable pulsarss` - enable new service
|
||||||
* `systemctl start pulsarss` - start server
|
* `systemctl start pulsarss` - start the process
|
||||||
|
* `systemctl status pulsarss` - check process launched
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue