blob: 0193d5be4381d481109e9fd14a9f5a95b66b9f22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
[Unit]
Description=user log rotation
[Service]
Type=oneshot
ConfigurationDirectory=%p %p/config.d
StateDirectory=%p
ExecStartPre=/bin/mkdir -pv -- %h/.local/state/%p
ExecStart=/usr/sbin/logrotate --state=%h/.local/state/%p/status -- %E/%p/config
TimeoutStartSec=20m
|