Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-31 | activate: do not leak envp on error | Zbigniew Jędrzejewski-Szmek | |
2013-03-20 | activate: avoid warning from -Wshadow | Zbigniew Jędrzejewski-Szmek | |
src/activate/activate.c:167:51: warning: declaration shadows a variable in the global scope [-Wshadow] static int launch(char* name, char **argv, char **environ, int fds) { ^ /usr/include/unistd.h:546:15: note: previous declaration is here extern char **environ; ^ | |||
2013-03-15 | systemd-activate: pass environment variables through | Zbigniew Jędrzejewski-Szmek | |
I need this to test half-installed socket-activated python script, which requires PYTHONPATH and LD_LIBRARY_PATH set. I assume that other people might find it useful to. -E VAR passes through VAR from the environment, while -E VAR=value sets VAR=value. systemd-activate -E PYTHONPATH=/var/tmp/inst1/usr/lib64/python3.3/site-packages -E LD_LIBRARY_PATH=/var/tmp/inst1/usr/lib -l 2000 python3 -c 'from systemd.daemon import listen_fds; print(listen_fds())' | |||
2013-02-27 | systemd-activate: add a socket-activation test tool | Zbigniew Jędrzejewski-Szmek | |