solution pkg_list
This commit is contained in:
6
pkg_list.service
Normal file
6
pkg_list.service
Normal 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
6
pkg_list.timer
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description= get weekly package list
|
||||
[Timer]
|
||||
OnCalendar=Mon 05:00:00
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user