From e45b8d26fc004cff8c3601b9f9fbf364bb92ba7e Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 17 Feb 2025 19:39:08 +0200 Subject: [PATCH] update readme --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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