Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 949 Bytes

File metadata and controls

25 lines (14 loc) · 949 Bytes

Project 3

Adding socket activation and systemd notify support to C# daemons

Project Structure

This project contains three different programs. Each one uses a different method of activation:

Building

Execute dotnet build on the command line.

Running

Execute the systemd-socket-activate command specified in the README. You must then use nc/telnet to connect to the daemon.

To run as a service, copy the project.service and project.socket files to ~/.config/systemd/user/. Run systemctl start --user <socket file>.

Publishing

To publish, run sudo dotnet publish -o /opt/ProjectName