Now I have one package which needs systemd unit, so this is a basic wiki collected.
https://bunn.cc/2017/debian-packaging-with-systemd/ [not right]
[refer to here] https://askubuntu.com/questions/746094/how-to-package-a-systemd-service
[2] https://people.debian.org/~stapelberg/debconf13-making-your-package-work-with-systemd.pdf
-
[thinkfan] https://salsa.debian.org/debian/thinkfan/-/blob/debian/latest/debian/rules?ref_type=heads#L24
-
testing