Compare commits

...

2 commits

Author SHA1 Message Date
mwiegand
8cabb029b3 systemd timers be nice 2022-06-01 09:39:17 +02:00
mwiegand
e81f28cf04 envrc add PATH and upgrade pip 2022-06-01 09:38:57 +02:00
2 changed files with 3 additions and 0 deletions

2
.envrc
View file

@ -2,6 +2,8 @@
python3 -m venv .venv
source ./.venv/bin/activate
PATH_add .venv/bin
python3 -m pip install --upgrade pip
export BW_GIT_DEPLOY_CACHE=.cache/bw/git_deploy
export EXPERIMENTAL_UPLOAD_VIA_CAT=1

View file

@ -31,6 +31,7 @@ def systemd(metadata):
'User': config.get('user', 'root'),
'ExecStart': config['command'],
'Environment': config.get('env'),
'Nice': config.get('nice', 10),
},
},
})