Help for this page

Select Code to Download


  1. or download this
    [Unit]
    Description=Example Socket
    ...
    
    [Install]
    WantedBy=sockets.target
    
  2. or download this
    [Unit]
    Description=Example Service
    ...
    [Service]
    ExecStart=/path/to/your/executable
    StandardInput=socket
    
  3. or download this
    systemctl enable example-socket.socket
    systemctl start example-socket.socket
    
  4. or download this
    handle_conenction(\*STDIN);