[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Packaging postinstall handles



Hi,

I've created a debian installer for an application with some configuration files.
One of those is a udev rule, installed in /lib/udev/rules.d/xx-rule.rules.
Others are desktop icons and stuff that go into /usr/share/application.
There are two binaries installed, a background process and a main process that should be launched when the background process notices the correct device is plugged in.
The background process is placed under /etc/xdg/autostart/ so it launcher at user login.

Currently, the installer itself works fine, but there are some elements that I cannot seem to accomplish:
1) automatically reload udev rules after installation.
2) kickstart the background process after installation.

I cannot seem to find any examples that would help me resolve this, so any help would be greatly appreciated!

Kr,

Mathieu



Reply to: