diff --git a/README.md b/README.md index 4648399..8b77933 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,11 @@ pulsarss --source https://path/to/feed.rss --index index.gmi #### 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 @@ -55,6 +60,8 @@ ExecStart=pulsarss -s https://path/to/feed.rss -i index.gmi WantedBy=multi-user.target ``` -* `systemctl daemon-reload` - reload systemd configuration -* `systemctl enable pulsarss` - enable service on system startup -* `systemctl start pulsarss` - start server +3. Run in priority: + * `systemctl daemon-reload` - reload systemd configuration + * `systemctl enable pulsarss` - enable new service + * `systemctl start pulsarss` - start the process + * `systemctl status pulsarss` - check process launched