summarylogtreecommitdiffstats
path: root/co2mon-git.install
blob: b6246605083e1e30094858f77d946284e5da18bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  post_upgrade
  echo 'co2mon.service would be auto started/stopped on device [un]plugging'
  echo 'When co2mon.service is running you may check sensors values in /var/lib/co2mon'
  echo 'Or check journalctl -u co2monitor.service'
}

post_upgrade() {
  if type -P systemd-tmpfiles >/dev/null; then
    systemd-tmpfiles --create co2mon-git.conf
  fi
}

# vim:set ts=2 sw=2 et: