mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-28 15:07:05 +00:00
Create systemd service unit file for #47
- Switch ubuntu from upstart to systemd - Switch redhat from init.d to systemd
This commit is contained in:
8
etc/redhat/inbucket.logrotate
Normal file
8
etc/redhat/inbucket.logrotate
Normal file
@@ -0,0 +1,8 @@
|
||||
/var/log/inbucket.log {
|
||||
missingok
|
||||
notifempty
|
||||
create 0644 inbucket inbucket
|
||||
postrotate
|
||||
[ -x /bin/systemctl ] && /bin/systemctl reload inbucket >/dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user