summarylogtreecommitdiffstats
path: root/lyrionmusicserver.install
blob: 7a0e3f7401828d366f5444977834f24dfaaf9b81 (plain)
1
2
3
4
5
post_install() {
  getent group logitechms &>/dev/null || groupadd -r logitechms >/dev/null
  getent passwd logitechms &>/dev/null || useradd -r -g logitechms -d /opt/lyrionmusicserver-git -c 'Logitech Media Server' -s /bin/false logitechms >/dev/null
  chown -R logitechms:logitechms /opt/lyrionmusicserver-git
}