跳转到内容
可视化 Diff 工具

对比配置文件 左右对比 Diff

贴上你的 config,看看和原始版本有哪些变化。

PostgreSQL - /etc/systemd/postgresql.service

Debian 11 (Bullseye)

查看原始文件 →

默认配置

Debian 11 (Bullseye)
# postgresql.service is the meta unit for managing all PostgreSQL clusters on # the system at once. Conceptually, this unit is more like a systemd target, # but we are using a service since targets cannot be reloaded. # # The unit actually managing PostgreSQL clusters is postgresql@.service, # instantiated as postgresql@15-main.service for individual clusters. [Unit] Description=PostgreSQL RDBMS [Service] Type=oneshot ExecStart=/bin/true ExecReload=/bin/true RemainAfterExit=on [Install] WantedBy=multi-user.target

你的配置

已删除 已新增

把当前文件内容粘贴到这里,与默认配置进行对比。

如何使用这个工具

  1. 1 把你的配置文件粘贴或拖拽到上面的区域
  2. 2 Diff 会立刻显示,标出你和默认配置的差异
  3. 3 绿色是你新增的,红色是从默认配置里删掉的
  4. 4 使用“清空”后可对比另一个文件,或粘贴新的版本。