aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/files
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-22 08:51:26 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-22 08:51:26 +0100
commita00e79467b6703ffc4eb3f5c14f6e24b46ec7916 (patch)
tree794e241f90cc71d9e198e3d45c7c67fa54ccbddf /modules/profile/files
parentb859262351650df3368d4f3fa49a487a7d9b35b7 (diff)
parent68bbff6199a64dd32739487334260962261f7195 (diff)
downloadPuppet-a00e79467b6703ffc4eb3f5c14f6e24b46ec7916.tar.gz
Puppet-a00e79467b6703ffc4eb3f5c14f6e24b46ec7916.tar.zst
Puppet-a00e79467b6703ffc4eb3f5c14f6e24b46ec7916.zip
Merge branch 'xmr_stak'
Diffstat (limited to 'modules/profile/files')
-rw-r--r--modules/profile/files/xmr_stak/xmr-stak.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/profile/files/xmr_stak/xmr-stak.service b/modules/profile/files/xmr_stak/xmr-stak.service
new file mode 100644
index 0000000..93ee383
--- /dev/null
+++ b/modules/profile/files/xmr_stak/xmr-stak.service
@@ -0,0 +1,15 @@
1[Unit]
2Description=XMR Miner
3After=network.target
4
5[Service]
6WorkingDirectory=/var/lib/xmr_stak
7
8Type=simple
9User=xmr_stak
10Group=xmr_stak
11ExecStart=/usr/bin/cpulimit --limit 90 /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf
12Nice=19
13
14[Install]
15WantedBy=multi-user.target