update readme

This commit is contained in:
yggverse 2025-02-17 19:39:08 +02:00
parent 269914ac16
commit e45b8d26fc

View file

@ -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
``` ```
* `systemctl daemon-reload` - reload systemd configuration 3. Run in priority:
* `systemctl enable pulsarss` - enable service on system startup * `systemctl daemon-reload` - reload systemd configuration
* `systemctl start pulsarss` - start server * `systemctl enable pulsarss` - enable new service
* `systemctl start pulsarss` - start the process
* `systemctl status pulsarss` - check process launched