@damncourier hah maybe 10 years ago I would have been passionate about its superiority. But now I'm lazy and don't have time to spend. Easily to just puke a couple lines in a file and seal it up Haha.
Hodgegobin
@Hodgegobin
Posts made by Hodgegobin
-
RE: Installing wallet on ubuntuposted in HowTo's & Tutorials
-
RE: Installing wallet on ubuntuposted in HowTo's & Tutorials
@damncourier hah, I haven't written one of those in awhile!
-
RE: Installing wallet on ubuntuposted in HowTo's & Tutorials
@damncourier To expand upon this a little bit here is howto run Burstcoin Wallet on linux as a service. My system is Linux Mint 18.1 Serena/Ubuntu 16.04 Xenial, but should work for any linux distro utilizing systemd. You might have to make minor adjustments to make it work.
Put the burstwallet files somewhere, I put mine in /opt/burstwallet. My service is also being run by a non-root user.
So after you install the burst wallet, next you need to create a file called /etc/systemd/system/burstwallet.servicesudo vi /etc/systemd/system/burstwallet.serviceIn this file paste the following text, but be sure to update your information:
[Unit] Description=Burstcoin Wallet Service [Service] # change to the user you want to run your service, or the owner of the burstwallet files User=fibere # Update to the location you installed burstwallet WorkingDirectory=/opt/burstcoin ExecStart=/usr/bin/java -cp burst.jar:lib/*:conf nxt.Nxt SuccessExitStatus=143 Restart=on-failure RestartSec=120s [Install] WantedBy=multi-user.targetAfter saving your file you need to refresh the systemd daemons
fibere@snowrock /opt/burstcoin $ sudo systemctl daemon-reloadThen you can start your new service and check its status
sudo systemctl start burstwallet systemctl status burstwalletIt should say that your new service is started and look something like this:
● burstwallet.service - Burstcoin Wallet Service Loaded: loaded (/etc/systemd/system/burstwallet.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2017-06-07 19:25:12 CDT; 43min ago Main PID: 19390 (java) Tasks: 74 Memory: 2.4G CPU: 2min 56.041s CGroup: /system.slice/burstwallet.service └─19390 /usr/bin/java -cp /opt/burstcoin/burst.jar:lib/*:conf nxt.Nxt Jun 07 19:25:12 snowrock systemd[1]: Started Burstcoin Wallet Service. Jun 07 19:25:34 snowrock java[19390]: 2017-06-07 19:25:34 INFO: OCL max items: 1status920 Jun 07 19:25:42 snowrock java[19390]: 2017-06-07 19:25:42 INFO: nxt.apiServerEnforcePOST = "true" Jun 07 19:28:14 snowrock java[19390]: 2017-06-07 19:28:14 INFO: Finished connecteding to 2 well known peers. Jun 07 20:08:21 snowrock systemd[1]: Started Burstcoin Wallet Service. $If the service has not started be sure to check your paths in the burstwallet.service file. If you make any changes to the file you have to refresh the daemons with the or check the log with journalctl -xe
Good luck!
hodge