-
Notifications
You must be signed in to change notification settings - Fork 61
Running as a service
Peter Hendricks edited this page Jun 15, 2018
·
6 revisions
You can run creepMiner as as service in linux and Windows.
Its recommended to use NSSM - the Non-Sucking Service Manager
- Download NSSM
- Extract and run
nssm.exe install
- A small window will appear, now select the path of creepMiner.exe then enter
creepMiner
as the service name. - Select install service
Note: You can check if creepMiner service is running on the Task Manager>Services and find the name creepMiner and check its status if it is Running or Stopped.
This applies to Ubuntu, Mint and possibly Debian, using systemd.
- Copy bin & webUI to system
sudo cp -r creepMiner public /usr/local/bin/
- Add a service
sudo vi /etc/systemd/system/creepMiner.service
[Unit]
Description=creepMiner
After=network.target
[Service]
Type=simple
User=USERNAME
ExecStart=/usr/local/bin/creepMiner/run.sh
WorkingDirectory=/usr/local/bin/creepMiner
Restart=on-abort
[Install]
WantedBy=multi-user.target
- Manage the service
sudo systemctl daemon-reload
sudo systemctl enable creepMiner
sudo systemctl start creepMiner
haha you should protect the wiki :D