Skip to content

Commit

Permalink
Merge pull request #6783 from mildas/service_rsyncd
Browse files Browse the repository at this point in the history
service_rsyncd_disabled - update package name to rsync-daemon
  • Loading branch information
vojtapolasek committed Apr 6, 2021
2 parents 4529460 + 4cecd31 commit 89640fc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel7,ol7,rhel8,ol8,fedora,rhv4,rhcos4,sle15
prodtype: rhel7,ol7,rhel8,ol8,fedora,rhv4,sle15

title: 'Ensure rsyncd service is diabled'

Expand Down Expand Up @@ -33,4 +33,7 @@ template:
name: service_disabled
vars:
servicename: rsyncd
packagename: rsync
packagename: rsync-daemon
packagename@rhel7: rsync
packagename@ol7: rsync
packagename@sle15: rsync
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
# platform = Red Hat Enterprise Linux 8,Oracle Linux 8,multi_platform_fedora,multi_platform_rhv
# packages = rsync-daemon

systemctl stop rsyncd
systemctl disable rsyncd
systemctl mask rsyncd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
# platform = Red Hat Enterprise Linux 8,Oracle Linux 8,multi_platform_fedora,multi_platform_rhv
# packages = rsync-daemon

systemctl start rsyncd
systemctl enable rsyncd

0 comments on commit 89640fc

Please sign in to comment.