update readme

This commit is contained in:
yggverse 2025-02-17 23:37:54 +02:00
parent 4240eeb960
commit e63d8c116d

View file

@ -39,12 +39,13 @@ pulsarss --source https://path/to/feed.rss --index index.gmi
#### systemd #### systemd
1. Install `pulsarss` by copy the binary compiled into the system destination: 1. Install `pulsarss` by copy the binary compiled into the native system apps destination:
* Linux: `sudo cp /home/user/.cargo/bin/pulsarss /usr/local/bin` * Linux: `sudo cp /home/user/.cargo/bin/pulsarss /usr/local/bin`
2. Create `systemd` configuration file: 2. Create `systemd` configuration file:
``` /etc/systemd/system/pulsarss.service ``` pulsarss.service
# /etc/systemd/system/pulsarss.service # /etc/systemd/system/pulsarss.service
[Unit] [Unit]
@ -61,6 +62,7 @@ WantedBy=multi-user.target
``` ```
3. Run in priority: 3. Run in priority:
* `systemctl daemon-reload` - reload systemd configuration * `systemctl daemon-reload` - reload systemd configuration
* `systemctl enable pulsarss` - enable new service * `systemctl enable pulsarss` - enable new service
* `systemctl start pulsarss` - start the process * `systemctl start pulsarss` - start the process