search for: chenqiang

Displaying 4 results from an estimated 4 matches for "chenqiang".

2016 May 25
4
centos7 tmpfiles.d deleted outdate files
...to use `systemd-tmpfiles-clean.service` with my custom configured file in `tmpfiles.d` to delete outdated files periodically in some log dir. I have a `tmpfiles.d` configured file in `/etc/tmpfiles.d` named `my_log.conf` in following contents. ``` #Type Path Mode UID GID Age Arg r /chenqiang 0775 root root 10s r /chenqiang/test_10s r /chenqiang/test_20s ``` If I run `systemd-tmpfiles --remove` with above configure, all files and dir will be deleted if I set 'r' type for the files and dir. but, I want to only delete some outdated files in the dir. and I use `systemd-tmpfiles...
2016 May 30
0
centos7 tmpfiles.d deleted outdate files
so, there no method to delete special files that below a directory? such as in the directory [root at chenqiang]# tree . ??? test_10d ??? test_20d 0 directories, 2 files [root at chenqiang]# ll total 8 -rw-r--r-- 1 root root 4 5? 20 19:14 test_10d -rw-r--r-- 1 root root 4 5? 10 19:15 test_20d So, I want to delete file test_20d, keep test_10d, how to do that? thx. On 2016?05?27? 02:12, Gordon Messm...
2016 May 26
0
centos7 tmpfiles.d deleted outdate files
...to use `systemd-tmpfiles-clean.service` with my custom configured file in `tmpfiles.d` to delete outdated files periodically in some log dir. I have a `tmpfiles.d` configured file in `/etc/tmpfiles.d` named `my_log.conf` in following contents. ``` #Type Path Mode UID GID Age Arg r /chenqiang 0775 root root 10s r /chenqiang/test_10s r /chenqiang/test_20s ``` If I run `systemd-tmpfiles --remove` with above configure, all files and dir will be deleted if I set 'r' type for the files and dir. but, I want to only delete some outdated files in the dir. and I use `systemd-tmpfiles...
2016 May 26
0
centos7 tmpfiles.d deleted outdate files
...th my > custom configured file in `tmpfiles.d` to delete outdated files > periodically in some log dir. > > I have a `tmpfiles.d` configured file in `/etc/tmpfiles.d` named > `my_log.conf` in following contents. > > ``` > #Type Path Mode UID GID Age Arg > r /chenqiang 0775 root root 10s > r /chenqiang/test_10s > r /chenqiang/test_20s > ``` > > If I run `systemd-tmpfiles --remove` with above configure, all files > and dir will be deleted if I set 'r' type for the files and dir. > but, I want to only delete some outdated files in the...