lpi1:systemd.socket
TODO: noch nicht fertig
systemctl edit --force --full psax.service
- /etc/systemd/system/psax.service
# /etc/systemd/system/psax.service [Unit] Description=show processes Requires=psax.socket [Service] ExecStart=/usr/bin/ps ax User=nobody
systemctl edit --force --full psax.socket
- /etc/systemd/system/psax.socket
[Unit] Description=Show Processes on port 48620 [Socket] ListenStream=48620 [Install] WantedBy=sockets.target
lsof -i 48620 systemctl start psax.socket lsof -i 48620 nc localhost 48620
lpi1/systemd.socket.txt · Zuletzt geändert: 2020/03/13 12:15 von ingo_wichmann
