diff options
author | Oliver Smith <osmith@sysmocom.de> | 2024-05-14 09:16:44 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2024-05-14 09:18:11 +0200 |
commit | a59d264d59f970a5918ec3c84f77091e0e64fc94 (patch) | |
tree | 655306ad145101b8eae0316735bea22b9e374a04 | |
parent | f99c32ef3fbd61880eabda20b956c23f0b8c5154 (diff) |
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
-rwxr-xr-x | debian/postinst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/debian/postinst b/debian/postinst index f9f64c8..680cb2f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -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 ;; |