Skip to content

Commit 3513f8f

Browse files
nginx signal now logs username used to attempt signal
1 parent 8f83a2d commit 3513f8f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

6. SignalNginx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal static partial class Program
1111
{
1212
private static Boolean SignalNginxReload(ref Configuration configuration)
1313
{
14-
Log.FastLog(Environment.UserName, LogSeverity.Debug, "Signal");
14+
Log.FastLog("Signaling as: " + Environment.UserName, LogSeverity.Verbose, "Signal");
1515

1616
Process nginx = new();
1717
nginx.StartInfo.FileName = configuration.NginxPath;

App/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

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

17-
[assembly: AssemblyVersion("1.0.0.0")]
18-
[assembly: AssemblyFileVersion("1.0.0.0")]
17+
[assembly: AssemblyVersion("1.0.1.0")]
18+
[assembly: AssemblyFileVersion("1.0.1.0")]
1919
[assembly: AssemblyInformationalVersion("1.0 stables")]

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77

88
---
99

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

0 commit comments

Comments
 (0)