From 758d093bd5f4b91f6d5f7b099180d7569babc671 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 15 May 2018 21:37:12 +0100 Subject: [PATCH] Changes for systemd. --- ircDDBGateway/IRCDDBGatewayAppD.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ircDDBGateway/IRCDDBGatewayAppD.cpp b/ircDDBGateway/IRCDDBGatewayAppD.cpp index ced3177..e51efac 100644 --- a/ircDDBGateway/IRCDDBGatewayAppD.cpp +++ b/ircDDBGateway/IRCDDBGatewayAppD.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013,2015 by Jonathan Naylor G4KLX + * Copyright (C) 2010-2013,2015,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -119,9 +119,9 @@ int main(int argc, char** argv) wxString pidFileName; if (!name.IsEmpty()) - pidFileName.Printf(wxT("/var/run/ircddbgateway_%s.pid"), name.c_str()); + pidFileName.Printf(wxT("/var/run/opendv/ircddbgateway_%s.pid"), name.c_str()); else - pidFileName = wxT("/var/run/ircddbgateway.pid"); + pidFileName = wxT("/var/run/opendv/ircddbgateway.pid"); pidFileName.Replace(wxT(" "), wxT("_")); char fileName[128U];