diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-12 16:55:32 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-12 16:55:32 (GMT) |
commit | 7cb1f208092542b48a22398ef04b84ea02fd0ac0 (patch) | |
tree | 256f4632c7c4320c4421c1554c2c8f190e898256 /abs/extra/samba/samba.logrotate | |
parent | a8ffca317c742720af2d83a33e11623a4fd36265 (diff) | |
download | linhes_pkgbuild-7cb1f208092542b48a22398ef04b84ea02fd0ac0.zip linhes_pkgbuild-7cb1f208092542b48a22398ef04b84ea02fd0ac0.tar.gz linhes_pkgbuild-7cb1f208092542b48a22398ef04b84ea02fd0ac0.tar.bz2 |
samba: run systemconfig.py on update
Diffstat (limited to 'abs/extra/samba/samba.logrotate')
-rw-r--r-- | abs/extra/samba/samba.logrotate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/extra/samba/samba.logrotate b/abs/extra/samba/samba.logrotate new file mode 100644 index 0000000..581f4c3 --- /dev/null +++ b/abs/extra/samba/samba.logrotate @@ -0,0 +1,9 @@ +/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log { + notifempty + missingok + sharedscripts + copytruncate + postrotate + /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true + endscript +} |