feat(inspircd): configure proper logging directory
- Ensure log directory exists via systemd LogsDirectory - Update log path to use absolute path /var/log/inspircd/ircd.log
This commit is contained in:
parent
6f64840eb1
commit
61e348a83f
2 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,9 @@
|
|||
config = builtins.readFile ./inspircd.conf;
|
||||
};
|
||||
|
||||
# Ensure log directory exists
|
||||
systemd.services.inspircd.serviceConfig.LogsDirectory = "inspircd";
|
||||
|
||||
environment.etc = {
|
||||
"inspircd/inspircd.motd".source = ./inspircd.motd;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -589,7 +589,7 @@
|
|||
# The following log tag is highly default and uncustomised. It is recommended you
|
||||
# sort out your own log tags. This is just here so you get some output.
|
||||
|
||||
<log method="file" type="* -USERINPUT -USEROUTPUT" level="default" target="ircd.log">
|
||||
<log method="file" type="* -USERINPUT -USEROUTPUT" level="default" target="/var/log/inspircd/ircd.log">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue