|
Line
Link Here
|
| 0 |
-- /lib/systemd/system/xmr-stak.service 2018-09-09 00:29:44.267137960 -0400 |
0 |
++ /etc/systemd/system/xmr-stak.service 2018-09-09 00:04:09.464830009 -0400 |
|
Lines 10-32
Link Here
|
| 10 |
Environment=GPU_MAX_ALLOC_PERCENT=100 |
10 |
Environment=GPU_MAX_ALLOC_PERCENT=100 |
| 11 |
Environment=GPU_SINGLE_ALLOC_PERCENT=100 |
11 |
Environment=GPU_SINGLE_ALLOC_PERCENT=100 |
| 12 |
ExecStart=/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt |
12 |
ExecStart=/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt |
| 13 |
DynamicUser=true |
13 |
User=xmr-stak |
| 14 |
Group=video |
14 |
Group=video |
| 15 |
CPUSchedulingPolicy=idle |
|
|
| 16 |
PrivateTmp=true |
| 17 |
ProtectHome=true |
| 18 |
ProtectSystem=strict |
| 19 |
NoNewPrivileges=true |
| 20 |
CapabilityBoundingSet= |
| 21 |
MemoryDenyWriteExecute=true |
| 22 |
ProtectKernelModules=true |
| 23 |
ProtectKernelTunables=true |
| 24 |
ProtectControlGroups=true |
| 25 |
RestrictRealtime=true |
| 26 |
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX |
| 27 |
RestrictNamespaces=true |
| 28 |
PrivateUsers=true |
| 29 |
ConfigurationDirectory=xmr-stak |
| 30 |
[Install] |
15 |
[Install] |
| 31 |
WantedBy=multi-user.target |
16 |
WantedBy=multi-user.target |