Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 396 Bytes
[Unit]
Description=Mining Pool Service
After=network.target
[Service]
Type=simple
Restart=always
SyslogIdentifier=cryptonote-nodejs-pool
ExecStart=/usr/bin/node init.js
# Change to the location of cryptonote-node-js-pool
WorkingDirectory=/path/to/your/cryptonote-nodejs-pool/pool
# Set user and group that will run the pool
User=pool-user
Group=pool-user
[Install]
WantedBy=multi-user.target