1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00
Files
go-inbucket/etc/ubuntu/inbucket.logrotate
James Hillyerd 61c6e7c2e9 Create systemd service unit file for #47
- Switch ubuntu from upstart to systemd
- Switch redhat from init.d to systemd
2017-01-05 05:29:21 +00:00

9 lines
192 B
Plaintext

/var/log/inbucket.log {
missingok
notifempty
create 0644 inbucket inbucket
postrotate
[ -x /bin/systemctl ] && /bin/systemctl reload inbucket >/dev/null 2>&1 || true
endscript
}