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

How does exec work with systemd?



Hi all,

For years, I've been using exec to replace a shellscript with a binary
executable. Something like this:

#!/bin/bash
#set up all sorts of stuff
#store my current PID
exec /usr/bin/mplayer

In the preceding example, if the shellscript had PID 12345, after the
exec PID 12345 refers to the exec'ed mplayer.

Is that behavior going to change with systemd?

Thanks,

SteveT

Steve Litt                *  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Reply to: