Compare commits
1 Commits
solution
...
solution_p
| Author | SHA1 | Date | |
|---|---|---|---|
| 0bd56bc7be |
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