Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Commit

Permalink
Added a script that will add ombre as system service and shows how to…
Browse files Browse the repository at this point in the history
… start it.
  • Loading branch information
Elektryon-Dev committed Feb 21, 2018
1 parent 5ae1702 commit bbe9d77
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
20 changes: 18 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,26 @@ Explanation for each field:
#### 3) Start the pool
First make sure that the ombred and ombre-wallet-rpc daemons are running:
First make sure ombred is installed as service.
```bash
./ombred --detach

cd cryptonote-ombre-pool
mv ombred /usr/bin
cp ombre.service /lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable ombre
```
Add user so that ombred will run under a user not root
```bash
sudo useradd -m monerodaemon -d /home/monerodaemon


Make sure that the ombred and ombre-wallet-rpc daemons are running:

```bash
sudo systemctl start ombre
./ombre-wallet-rpc --wallet-file=<wallet name> --rpc-bind-port <wallet port>
```

Expand Down
13 changes: 13 additions & 0 deletions ombre.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Ombre Daemon
After=network.target

[Service]
Type=forking
GuessMainPID=no
ExecStart=/usr/bin/ombred --rpc-bind-ip 127.0.0.1 --detach --restricted-rpc
Restart=always
User=ombredaemon

[Install]
WantedBy=multi-user.target

0 comments on commit bbe9d77

Please sign in to comment.