# ClawdDotNet instance manager as a systemd user service (#795). # # Install (as the user that runs ClawdDotNet): # cp clawddotnet-manager.service ~/.config/systemd/user/ # # adjust the paths below to your installation directory # systemctl --user daemon-reload # systemctl --user enable --now clawddotnet-manager.service # loginctl enable-linger "$USER" # keeps it running without a login session # # KillMode=process: stopping the service stops the manager, not the instances it started. # The manager stops them itself when that is wanted (before an update, for example); # a restart of the manager alone takes them over again. [Unit] Description=ClawdDotNet instance manager After=network-online.target [Service] Type=simple WorkingDirectory=%h/clawddotnet ExecStart=%h/clawddotnet/ClawdDotNet.Instanzmanager Restart=on-failure RestartSec=15 KillMode=process # The console output carries the web access token on an interactive console only; # the journal never gets it, but there is nothing else in it worth keeping. StandardOutput=null StandardError=journal [Install] WantedBy=default.target