Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dennis Hoppe
infrastructure
Commits
22c0af69
Verified
Commit
22c0af69
authored
Mar 02, 2018
by
Florian Pritz
Browse files
Enable cpu/memory accounting for dbscripts
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
6c3d7ffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/dbscripts/tasks/main.yml
View file @
22c0af69
...
...
@@ -225,12 +225,18 @@
-
name
:
start and enable rsync
service
:
name=rsyncd.socket enabled=yes state=started
-
name
:
enable systemd ressource accounting
command
:
systemctl set-property system-rsyncd.slice CPUAccounting=yes MemoryAccounting=yes
-
name
:
configure svnserve
copy
:
dest=/etc/conf.d/svnserve content="SVNSERVE_ARGS=-R -r /srv/svn\n"
-
name
:
start and enable svnserve
service
:
name=svnserve enabled=yes state=started
-
name
:
enable systemd ressource accounting
command
:
systemctl set-property svnserve CPUAccounting=yes MemoryAccounting=yes
-
name
:
install systemd timers
copy
:
src={{ item }} dest=/etc/systemd/system/{{ item }} owner=root group=root mode=0644
with_items
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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