User Tools

Site Tools


apps:systemd:cookbook

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apps:systemd:cookbook [2024-03-07 18:26] – created Manuel Freiapps:systemd:cookbook [2024-03-07 18:39] (current) – remove type=notify because it breaks the whole thing Manuel Frei
Line 13: Line 13:
 You have to create a socket and a service file. The socket file defines the listening socket and will trigger the service file on start and stop. You have to create a socket and a service file. The socket file defines the listening socket and will trigger the service file on start and stop.
  
-<file /etc/systemd/system/proxy-to-rdphost.socket>+<file systemd /etc/systemd/system/proxy-to-rdphost.socket>
 [Socket] [Socket]
 ListenStream=3389 ListenStream=3389
Line 21: Line 21:
 </file> </file>
  
-<file /etc/systemd/system/proxy-to-rdphost.service>+<file systemd /etc/systemd/system/proxy-to-rdphost.service>
 [Unit] [Unit]
 Requires=proxy-to-rdphost.socket Requires=proxy-to-rdphost.socket
Line 27: Line 27:
  
 [Service] [Service]
-Type=notify 
 ExecStart=/usr/lib/systemd/systemd-socket-proxyd 192.0.2.100:3389 ExecStart=/usr/lib/systemd/systemd-socket-proxyd 192.0.2.100:3389
 PrivateTmp=yes PrivateTmp=yes
apps/systemd/cookbook.1709832390.txt.gz · Last modified: 2024-03-07 18:26 by Manuel Frei