User avatar
mia (developer mode)
@mia@shrimptest.0x0.st
did you know systemd has a clean command?

systemctl clean, if the unit file has been written properly, can clean runtime data, caches, persistent state data, logs, file descriptor stores and configuration files. unless --what= is specified, it will clean cache, runtime data and fd store. it won’t do anything unless the unit is stopped beforehand, for obvious reasons.