apps:systemd:cookbook
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
apps:systemd:cookbook [2024-03-07 18:26] – created Manuel Frei | apps: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 / | + | < |
[Socket] | [Socket] | ||
ListenStream=3389 | ListenStream=3389 | ||
Line 21: | Line 21: | ||
</ | </ | ||
- | <file / | + | < |
[Unit] | [Unit] | ||
Requires=proxy-to-rdphost.socket | Requires=proxy-to-rdphost.socket | ||
Line 27: | Line 27: | ||
[Service] | [Service] | ||
- | Type=notify | ||
ExecStart=/ | ExecStart=/ | ||
PrivateTmp=yes | PrivateTmp=yes |
apps/systemd/cookbook.1709832390.txt.gz · Last modified: 2024-03-07 18:26 by Manuel Frei