diff options
author | Christopher Brannon <chris@the-brannons.com> | 2017-04-16 01:51:00 -0700 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2018-06-20 18:02:46 +0200 |
commit | fd1422a8aab1a350f008d40a85c10800b94d709f (patch) | |
tree | 61a79b26693ba644d76fe79e8546088f73789f91 /dracut | |
parent | 0b85cd8b88c92f6fe30a50ae46c796c68f4f77e9 (diff) | |
download | runit-void-fd1422a8aab1a350f008d40a85c10800b94d709f.tar.gz runit-void-fd1422a8aab1a350f008d40a85c10800b94d709f.tar.xz runit-void-fd1422a8aab1a350f008d40a85c10800b94d709f.zip |
vlogger: Fix symlinked ./run handling, make sure tag is initialized.
If vlogger is symlinked to foo/log/run for some service foo, it's invoked as ./run with $SERVICEDIR/foo/log as the cwd. So extract the service name from cwd if argv[0] is ./run. Also tag is initialized to the generic "vlogger" if it is not given on the command line and servicename couldn't be extracted from cwd.
Diffstat (limited to 'dracut')
0 files changed, 0 insertions, 0 deletions