cryptotronix / cryptocape-init

Initialization files for the CryptoCape
GNU General Public License v3.0
3 stars 6 forks source link

Restarting trousers #1

Open kisom opened 10 years ago

kisom commented 10 years ago

I think most Linux distributions (including at least the version of Debian that ships on the BBB) that haven't fallen prey to systemd prefer the use of service to shut down and restart tcsd; systemd uses systemctl <start,stop>. Might it be preferable to use those here?

I do have a patch if this behaviour is wanted.

jbdatko commented 10 years ago

That's probably a cleaner approach than pkill (albeit less dramatic :p ). Patches welcome. I'll test it out on a new chip.

On Wed, Sep 17, 2014 at 4:35 PM, Kyle Isom notifications@github.com wrote:

I think most Linux distributions (including at least the version of Debian that ships on the BBB) that haven't fallen prey to systemd prefer the use of service to shut down and restart tcsd; systemd uses systemctl <start,stop>. Might it be preferable to use those here?

I do have a patch if this behaviour is wanted.

— Reply to this email directly or view it on GitHub https://github.com/cryptotronix/cryptocape-init/issues/1.

kisom commented 10 years ago

Turns out I was wrong --- the BBB's Debian does use systemd (or at least, mine ended up running it).