Compare commits
2 commits
97a6d95902
...
6f9ff7eef0
Author | SHA1 | Date | |
---|---|---|---|
6f9ff7eef0 | |||
517e3dcafc |
2 changed files with 7 additions and 0 deletions
2
rhinoreminds-rsyslog.conf
Normal file
2
rhinoreminds-rsyslog.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
if $programname == 'rhinoreminds' then /var/log/rhinoreminds/rhinoreminds.log
|
||||
if $programname == 'rhinoreminds' then ~
|
|
@ -50,6 +50,11 @@ Restart=on-failure
|
|||
# Delay restarts by 60 seconds
|
||||
RestartSec=60
|
||||
|
||||
# If you want logs to be kept automatically in /var/log, uncomment the following & copy "rhinoreminds-rsyslog.conf" in the root of this repository to "/etc/rsyslog.d" - and then do `sudo systemctl restart rsyslog.d`
|
||||
#StandardOutput=syslog
|
||||
#StandardError=syslog
|
||||
#SyslogIdentifier=rhinoreminds
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
|
Loading…
Reference in a new issue