Skip to content

Commit

Permalink
nginx signal now logs username used to attempt signal
Browse files Browse the repository at this point in the history
  • Loading branch information
backslashspace committed Oct 8, 2024
1 parent 8f83a2d commit 3513f8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 6. SignalNginx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal static partial class Program
{
private static Boolean SignalNginxReload(ref Configuration configuration)
{
Log.FastLog(Environment.UserName, LogSeverity.Debug, "Signal");
Log.FastLog("Signaling as: " + Environment.UserName, LogSeverity.Verbose, "Signal");

Process nginx = new();
nginx.StartInfo.FileName = configuration.NginxPath;
Expand Down
4 changes: 2 additions & 2 deletions App/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

[assembly: Guid("305d3d7e-daac-4bc9-81f0-51c2bca3fbed")]

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyInformationalVersion("1.0 stables")]
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@

---

Written in C# - .Net Framework 4.8.1 (C# 12.0)
Does not need administrative privileges - must run as the same user as the nginx process in order to be able to signal a reload.
SSH server cipher must be compatible with [SSH.NET](https://github.com/sshnet/SSH.NET)
Does not need administrative privileges - must run as the same user as the nginx process in order to be able to signal a reload.

Written in C# (12.0) .Net Framework v4.8.1

0 comments on commit 3513f8f

Please sign in to comment.