当我运行时sudo systemctl status gunicorn,出现以下错误:
\xe2\x97\x8f gunicorn.service - gunicorn daemon\n Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled)\n Active: failed (Result: exit-code) since Tue 2022-02-08 07:29:18 UTC; 17min ago\n Main PID: 21841 (code=exited, status=217/USER)\n\nFeb 08 07:29:18 ip-172-31-37-113 systemd[1]: Started gunicorn daemon.\nFeb 08 07:29:18 ip-172-31-37-113 systemd[21841]: gunicorn.service: Failed to determine user credentials: No such process\nFeb 08 07:29:18 ip-172-31-37-113 systemd[21841]: gunicorn.service: Failed at step USER spawning /home/ubuntu/bookclub/venv/bin/gun\nFeb 08 07:29:18 ip-172-31-37-113 systemd[1]: gunicorn.service: Main process exited, code=exited, status=217/USER\nFeb 08 07:29:18 ip-172-31-37-113 systemd[1]: …Run Code Online (Sandbox Code Playgroud) 我想查看 Github Actions 上两次提交之间的文件之间的差异。这是我的main.yml文件:
name: GitHub Actions Test
on: [push]
jobs:
Test-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- name: Adding actions/checkout@v2
uses: actions/checkout@v2
- name: Git diff
run: git diff 7100c3bbc34a9667ca9034a8ec321677ed4b5828 4c5952b60b8a5911154534ea1fefec3567c49c52 ${{ github.workspace }}/data.xml
- name: Run Python
run: |
python3 ${{ github.workspace }}/.github/workflows/app.py
- name: Setup git - step 1
run: git config --global user.email "adithraghavs@gmail.com"
- name: Setup git - step 2
run: git config --global user.name "Adith Raghav"
- name: Check for changes
run: git status …Run Code Online (Sandbox Code Playgroud)