Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clamav
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
clamav
Commits
73774dfd
Commit
73774dfd
authored
Jan 23, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clamd should restart automatically on failure
parent
cbcd41ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Makefile
Makefile
+2
-0
No files found.
Makefile
View file @
73774dfd
...
@@ -27,6 +27,8 @@ all: freshclam-config clamd-config
...
@@ -27,6 +27,8 @@ all: freshclam-config clamd-config
$(MAKE)
-C
clamav-0.102.4 check
$(MAKE)
-C
clamav-0.102.4 check
$(MAKE)
-C
clamav-0.102.4
install
$(MAKE)
-C
clamav-0.102.4
install
install
-d
-m755
-o
clamav
-g
clamav /usr/share/clamav
install
-d
-m755
-o
clamav
-g
clamav /usr/share/clamav
sed
-i
'/^\[Service\]$$/a RestartSec=5s'
/lib/systemd/system/clamav-daemon.service
sed
-i
'/^\[Service\]$$/a Restart=on-failure'
/lib/systemd/system/clamav-daemon.service
@
echo
"
$$
FRESHCLAM_CONFIG"
>
/etc/freshclam.conf
@
echo
"
$$
FRESHCLAM_CONFIG"
>
/etc/freshclam.conf
systemctl
enable
clamav-freshclam
systemctl
enable
clamav-freshclam
@
echo
"
$$
CLAMD_CONFIG"
>
/etc/clamd.conf
@
echo
"
$$
CLAMD_CONFIG"
>
/etc/clamd.conf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment