solution pkg_list

This commit is contained in:
2024-10-03 12:31:32 +02:00
parent 8f2be4d638
commit 0bd56bc7be
2 changed files with 12 additions and 0 deletions

6
pkg_list.service Normal file
View File

@@ -0,0 +1,6 @@
[Unit]
Description = get installed packages list
[Service]
Type = oneshot
ExecStart = {{ pkg_list_command }} | sort > /root/pkg.list

6
pkg_list.timer Normal file
View File

@@ -0,0 +1,6 @@
[Unit]
Description= get weekly package list
[Timer]
OnCalendar=Mon 05:00:00
[Install]
WantedBy=multi-user.target