From 68bbff6199a64dd32739487334260962261f7195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 21 Feb 2018 20:42:04 +0100 Subject: Add xmr-stak --- modules/profile/files/xmr_stak/xmr-stak.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/profile/files/xmr_stak/xmr-stak.service (limited to 'modules/profile/files/xmr_stak/xmr-stak.service') 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 @@ +[Unit] +Description=XMR Miner +After=network.target + +[Service] +WorkingDirectory=/var/lib/xmr_stak + +Type=simple +User=xmr_stak +Group=xmr_stak +ExecStart=/usr/bin/cpulimit --limit 90 /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf +Nice=19 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3