2 Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/Debian>).
source | link

Conditionally enabling systemd files through debianDebian packaging

I've created a debdeb package which installs a service.  

On our embedded devices, I want this package to automatically enable the service. On our developer workstations, I want the devsdevelopers to systemctl start foo manually (it's a heavy service, and so it just consumes resources if run all of the time on a desktop environment).

How can I go about prompting the user for their decision during the apt-get step? IsIs that the best solution?

Note, I've created the package using dh_make and debhelper and enabled it with:  

%:
    dh $@ --with=systemd

override_dh_systemd_enable:
    dh_systemd_enable --name=foo foo.service

Conditionally enabling systemd files through debian packaging

I've created a deb package which installs a service.  

On our embedded devices, I want this package to automatically enable the service. On our developer workstations, I want the devs to systemctl start foo manually (it's a heavy service and so it just consumes resources if run all of the time on a desktop environment).

How can I go about prompting the user for their decision during apt-get step? Is that the best solution?

Note, I've created the package using dh_make and debhelper and enabled it with:  

%:
    dh $@ --with=systemd

override_dh_systemd_enable:
    dh_systemd_enable --name=foo foo.service

Conditionally enabling systemd files through Debian packaging

I've created a deb package which installs a service.

On our embedded devices, I want this package to automatically enable the service. On our developer workstations, I want the developers to systemctl start foo manually (it's a heavy service, and so it just consumes resources if run all of the time on a desktop environment).

How can I go about prompting the user for their decision during the apt-get step? Is that the best solution?

Note, I've created the package using dh_make and debhelper and enabled it with:

%:
    dh $@ --with=systemd

override_dh_systemd_enable:
    dh_systemd_enable --name=foo foo.service
    Tweeted twitter.com/StackUnix/status/1061951771290017798
1
source | link

Conditionally enabling systemd files through debian packaging

I've created a deb package which installs a service.

On our embedded devices, I want this package to automatically enable the service. On our developer workstations, I want the devs to systemctl start foo manually (it's a heavy service and so it just consumes resources if run all of the time on a desktop environment).

How can I go about prompting the user for their decision during apt-get step? Is that the best solution?

Note, I've created the package using dh_make and debhelper and enabled it with:

%:
    dh $@ --with=systemd

override_dh_systemd_enable:
    dh_systemd_enable --name=foo foo.service