@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.
Posts made by Hodgegobin
RE: Installing wallet on ubuntu
@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.service
sudo vi /etc/systemd/system/burstwallet.service
In 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.target
After saving your file you need to refresh the systemd daemons
[email protected] /opt/burstcoin $ sudo systemctl daemon-reload
Then you can start your new service and check its status
sudo systemctl start burstwallet systemctl status burstwallet
It 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: Started Burstcoin Wallet Service. Jun 07 19:25:34 snowrock java: 2017-06-07 19:25:34 INFO: OCL max items: 1status920 Jun 07 19:25:42 snowrock java: 2017-06-07 19:25:42 INFO: nxt.apiServerEnforcePOST = "true" Jun 07 19:28:14 snowrock java: 2017-06-07 19:28:14 INFO: Finished connecteding to 2 well known peers. Jun 07 20:08:21 snowrock systemd: 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