[Tarantool-patches] [PATCH] core: don't start example instance in postinstall
Alexander Turenko
alexander.turenko at tarantool.org
Fri Jun 5 09:55:21 MSK 2020
> Long story short: comparing both approaches I personally prefer to apply
> the one from the origin patch and take some changes you provided below
> (e.g. empty <enabled> directory handling).
>
> I also Cced Yaroslav as the person who faced the issue "for several
> times across these years".
I don't mind any of these approaches. I don't know which one would be
better. So I would say that I have no preference for one over another.
> AFAICS, there are some files left on the system after this "migration"
> that are not tracked by the package. So they are not removed anymore
> even after the package is deinstalled.
They will not be removed at `apt-get remove`, but will be at `apt-get
purge` as well as everything in /etc/tarantool. See:
| $ cat debian/tarantool-common.postrm
| #!/bin/sh
|
| set -e
|
| case "$1" in
| purge)
| rm -fr \
| /etc/tarantool \
| /var/log/tarantool \
| /var/run/tarantool \
| /var/lib/tarantool
| ;;
| esac
|
| #DEBHELPER#
More information about the Tarantool-patches
mailing list