f74df5962e
Signed-off-by: fbt <fbt@fleshless.org>
12 lines
396 B
Plaintext
12 lines
396 B
Plaintext
#!/usr/bin/env ssm
|
|
|
|
# logrotate — a oneshot service.
|
|
#
|
|
# This service runs once and exits. ssm marks it "enabled" after a
|
|
# successful run; use the reset-exit action (or `ssm logrotate reset-exit`)
|
|
# to let it run again. Schedule the service to run from whatever timer
|
|
# you prefer (systemd timer, cron, ...).
|
|
|
|
service_oneshot = yes
|
|
service_command = /usr/sbin/logrotate -f /etc/logrotate.conf
|