fermentord/build/debian/fermentord.postinst
Søren Rasmussen d36d239697
All checks were successful
continuous-integration/drone/push Build is passing
Add deb package
2022-05-02 22:02:13 +02:00

17 lines
298 B
Bash

#!/bin/bash
set -e
case "$1" in
install)
groupadd --system --force w1
adduser --system --group --no-create-home --add_extra_groups gpio,w1,spi --home /var/lib/fermentord --shell /sbin/nologin fermentor
;;
configure)
systemctl try-reload-or-restart fermentord
esac
#DEBHELPER#
exit 0