Skip to content

Commit

Permalink
fucking systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Oct 22, 2019
1 parent 8e211ac commit a02ce60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kvmd.install
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ post_upgrade() {
echo "==> Ensuring KVMD users and groups ..."
systemd-sysusers /usr/lib/sysusers.d/kvmd.conf

# https://github.com/systemd/systemd/issues/13522
usermod --expiredate= kvmd >/dev/null

chown kvmd:kvmd /etc/kvmd/htpasswd
chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd
chmod 600 /etc/kvmd/*passwd
Expand Down

0 comments on commit a02ce60

Please sign in to comment.