diff options
author | Daniel M. Capella | 2019-07-11 02:08:33 -0400 |
---|---|---|
committer | Daniel M. Capella | 2019-09-25 16:36:02 -0400 |
commit | a236f50d91b17661b97e87b1b3e02581372a5e49 (patch) | |
tree | ac9cc10580fbb3b26704066831527bea189b3181 /url-bot-rs-git.install | |
parent | 502251165d1d771cc07402780ab9e14f82e6fab9 (diff) | |
download | aur-a236f50d91b17661b97e87b1b3e02581372a5e49.tar.gz |
placeholder commit message
Diffstat (limited to 'url-bot-rs-git.install')
-rw-r--r-- | url-bot-rs-git.install | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/url-bot-rs-git.install b/url-bot-rs-git.install index c378ea610115..22effb06889c 100644 --- a/url-bot-rs-git.install +++ b/url-bot-rs-git.install @@ -1,4 +1,17 @@ post_install() { - useradd -c 'url-bot-rs user' -d / -r -s /sbin/login url-bot-rs - install -dm770 -g url-bot-rs -o url-bot-rs /{etc,var/lib}/url-bot-rs + cat << EOF +For fresh installs, follow these steps: + +Install the config directory and file: +$ sudo install -Dm640 -g url-bot-rs -o url-bot-rs /usr/share/doc/url-bot-rs-git/example.config.toml /etc/url-bot-rs/config.toml + +Configure url-bot-rs: +https://github.com/nuxeh/url-bot-rs#configuration-file-options + +Install the database directory (optional): +$ sudo install -dm700 -g url-bot-rs -o url-bot-rs /var/lib/url-bot-rs + +Enable and start service: +$ sudo systemctl enable --now url-bot-rs +EOF } |