#!/bin/sh

[ ! -d /run/systemd/system -a -x /usr/bin/wtmpdb ] || exit 0

exec /usr/bin/wtmpdb rotate
