Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add systemd info to README, convert to .md
- Loading branch information
Showing
2 changed files
with
48 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Canto Daemon | ||
|
||
This is the RSS backend for Canto clients. | ||
|
||
Canto-curses is the default client at: | ||
|
||
http://github.com/themoken/canto-curses | ||
|
||
## Requirements | ||
|
||
Debian / Ubuntu | ||
- python3 | ||
- python3-feedparser | ||
|
||
Arch (Py3 is default) | ||
- python | ||
- python-feedparser | ||
|
||
## Install | ||
|
||
From this directory, run | ||
|
||
```sh | ||
$ sudo python3 setup.py install | ||
``` | ||
|
||
|
||
If you're a systemd user you can easily run it on startup | ||
|
||
```sh | ||
$ systemctl --user enable canto-daemon | ||
``` | ||
|
||
Or start it manually with | ||
|
||
```sh | ||
$ systemctl --user start canto-daemon | ||
``` | ||
|
||
By default, user sessions start on login, and end on logoff stopping daemons. | ||
This is good behavior, but if you don't want canto-daemon to stop when you | ||
log out (to keep gathering news) enable "lingering" for your account. | ||
|
||
``` | ||
$ loginctl enable-linger <username> | ||
``` | ||
|
||
This will start one session for you on boot that will last until shutdown. |