[Nottingham] How to remote diagnose network issues?
Jason Irwin
jasonirwin73 at gmail.com
Mon Sep 7 15:54:22 UTC 2015
On 07/09/15 15:57, Chris Booth wrote:> Does this page help?
> http://0pointer.de/blog/projects/socket-activation.html
A bit, but it also adds to my confusion. For example, I can't see how
foobar.socket knows to invoke foobar.service; unless systemd is simply
going by file name as that's the only thing which seems to connect the
two files.
But it did help me get a better search and I found this after a few
attempts:
http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
Based on that, I guess what I want is something like:
[Service]
ExecStart=/path/to/my/ssh.script
[Install]
WantedBy=network-online.target
Now just to determine what kind of network management stack is in effect
and what the exact target name should be once I can regain access to the Pi.
--
╔═════════════╦══════════════════════════════════════════╗
║ Jason Irwin ║ OpenPGP (GPG/PGP) Public Key: 0xD0C592B1 ║
║ ║ Import from hkp://pgp.mit.edu ║
╚═════════════╩══════════════════════════════════════════╝
More information about the Nottingham
mailing list