Skip to content

Commit

Permalink
[FIX/UPDATE] Setting permissions and commands (#603)
Browse files Browse the repository at this point in the history
* [FIX/UPDATE] Setting permissions and commands

Changing `lendingbot.service` permission and setting the command `sudo systemctl daemon-reload` before enable `lendingbot.service`

* Highlight the 644 permission is OS dependant

* Update installation.rst
  • Loading branch information
oviniciusfeitosa authored and rnevet committed Mar 17, 2018
1 parent b6cf707 commit ce42446
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/installation.rst
Expand Up @@ -66,10 +66,25 @@ To download the bot you can either:
WantedBy=multi-user.target
Credit to GitHub user utdrmac.


The permission on the unit file may need to be set to 644 (depending on your OS) :

   ```
sudo chmod 644 /lib/systemd/system/lendingbot.service
```
Modify the ExecStart and WorkingDirectory to match your setup.

Enable the service using ``sudo systemctl enable lendingbot.service``
First you need to configure systemd (depending on your OS):
   ```
sudo systemctl daemon-reload
```
Enable the service using the command below:
   ```
sudo systemctl enable lendingbot.service
```
* OSx:
Expand Down

0 comments on commit ce42446

Please sign in to comment.