ALT Linux Bugzilla
– Attachment 8941 Details for
Bug 38902
Добавить timerunit для systemd
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч, добавляющий osec.timer и osec.service
osec-1.3.0-timerunit.patch (text/plain), 1016 bytes, created by
manowar@altlinux.org
on 2020-09-08 19:26:37 MSK
(
hide
)
Description:
Патч, добавляющий osec.timer и osec.service
Filename:
MIME Type:
Creator:
manowar@altlinux.org
Created:
2020-09-08 19:26:37 MSK
Size:
1016 bytes
patch
obsolete
> data/Makefile.am | 3 +++ > data/osec.service | 6 ++++++ > data/osec.timer | 8 ++++++++ > 3 files changed, 17 insertions(+) > >diff --git a/data/Makefile.am b/data/Makefile.am >index 0147b0a..9430973 100644 >--- a/data/Makefile.am >+++ b/data/Makefile.am >@@ -1,3 +1,6 @@ > dist_bin_SCRIPTS = osec_mailer osec_reporter osec_rpm_reporter > dist_sysconf_DATA = dirs.conf exclude.conf > dist_data_DATA = osec.cron pipe.conf >+ >+unitdir = /lib/systemd/system >+dist_unit_DATA = osec.service osec.timer >diff --git a/data/osec.service b/data/osec.service >new file mode 100644 >index 0000000..ecf41ac >--- /dev/null >+++ b/data/osec.service >@@ -0,0 +1,6 @@ >+[Unit] >+Description=OSEC integrity check >+ >+[Service] >+Type=oneshot >+ExecStart=/usr/share/osec/osec.cron >diff --git a/data/osec.timer b/data/osec.timer >new file mode 100644 >index 0000000..648854b >--- /dev/null >+++ b/data/osec.timer >@@ -0,0 +1,8 @@ >+[Unit] >+Description=Run OSEC every day at midnight >+ >+[Timer] >+OnCalendar=*-*-* 00:00:00 >+ >+[Install] >+WantedBy=multi-user.target
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38902
: 8941