initial
This commit is contained in:
12
nproc.service
Normal file
12
nproc.service
Normal file
@ -0,0 +1,12 @@
|
||||
# 2024-03-04
|
||||
|
||||
[Unit]
|
||||
Description=VM define env PROCESSORS
|
||||
Before=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/bash -c 'echo "PROCESSORS=$(nproc)" > /etc/env/nproc'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user