From 295a67db84d6e1c199bf54a5f224035e889b3a8c Mon Sep 17 00:00:00 2001 From: James Ross Date: Sat, 27 Jan 2024 21:16:43 +0000 Subject: [PATCH] refactor: Improve standard use of directories --- appsettings.json | 2 +- telemetry.openrails.org.service | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appsettings.json b/appsettings.json index 48d4b02..3cfc8fb 100644 --- a/appsettings.json +++ b/appsettings.json @@ -6,5 +6,5 @@ } }, "AllowedHosts": "*", - "DataPath": "/var/local/dotnet/telemetry.openrails.org" + "DataPath": "/var/opt/telemetry.openrails.org" } diff --git a/telemetry.openrails.org.service b/telemetry.openrails.org.service index 792a26a..3d2b8f4 100644 --- a/telemetry.openrails.org.service +++ b/telemetry.openrails.org.service @@ -2,8 +2,8 @@ Description=Open Rails Telemetry service [Service] -WorkingDirectory=/var/dotnet/telemetry.openrails.org -ExecStart=/usr/bin/dotnet "/var/dotnet/telemetry.openrails.org/Open Rails Telemetry.dll" +WorkingDirectory=/opt/telemetry.openrails.org +ExecStart=/usr/bin/dotnet "/opt/telemetry.openrails.org/Open Rails Telemetry.dll" Restart=always RestartSec=10 SyslogIdentifier=dotnet-telemetry.openrails.org