debian/postinst: don't change /etc/osmocom

osmo_dia2gsup doesn't have a config file in /etc/osmocom. The path I put
there didn't make sense.

Fix for:
  chown: cannot access '/etc/osmocom/osmo_dia2gsup.service': No such file or directory

Fixes: 240b43f3 ("contrib/systemd: run as osmocom user")
Change-Id: I32a06db20c53fdc136989f41805c78e5d9420b9b
This commit is contained in:
Oliver Smith 2024-05-14 09:16:44 +02:00
parent f99c32ef3f
commit a59d264d59
1 changed files with 0 additions and 4 deletions

4
debian/postinst vendored
View File

@ -16,10 +16,6 @@ case "$1" in
fi
# Fix permissions of previous (root-owned) install (OS#4107)
chown osmocom:osmocom /etc/osmocom/osmo_dia2gsup.service
chmod 0660 /etc/osmocom/osmo_dia2gsup.service
chown root:osmocom /etc/osmocom
chmod 2775 /etc/osmocom
mkdir -p /var/lib/osmo_dia2gsup
chown -R osmocom:osmocom /var/lib/osmo_dia2gsup
;;