1 Commits

Author SHA1 Message Date
0bd56bc7be solution pkg_list 2024-10-03 12:31:32 +02:00
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