From: Darrick J. Wong <djwong@xxxxxxxxxx> Add missing license and copyright information to the systemd control files in this directory. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- scrub/xfs_scrub@xxxxxxxxxxx | 5 +++++ scrub/xfs_scrub_all.cron.in | 5 +++++ scrub/xfs_scrub_all.service.in | 5 +++++ scrub/xfs_scrub_all.timer | 5 +++++ scrub/xfs_scrub_fail | 5 +++++ scrub/xfs_scrub_fail@xxxxxxxxxxx | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/scrub/xfs_scrub@xxxxxxxxxxx b/scrub/xfs_scrub@xxxxxxxxxxx index 6fb3f6ea2e9..c8662fc85a6 100644 --- a/scrub/xfs_scrub@xxxxxxxxxxx +++ b/scrub/xfs_scrub@xxxxxxxxxxx @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Online XFS Metadata Check for %I OnFailure=xfs_scrub_fail@%i.service diff --git a/scrub/xfs_scrub_all.cron.in b/scrub/xfs_scrub_all.cron.in index 3dea9296077..0ef97cc0ca8 100644 --- a/scrub/xfs_scrub_all.cron.in +++ b/scrub/xfs_scrub_all.cron.in @@ -1 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> +# 10 3 * * 0 root test -e /run/systemd/system || @sbindir@/xfs_scrub_all diff --git a/scrub/xfs_scrub_all.service.in b/scrub/xfs_scrub_all.service.in index b1b80da40a3..b874eb6f757 100644 --- a/scrub/xfs_scrub_all.service.in +++ b/scrub/xfs_scrub_all.service.in @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Online XFS Metadata Check for All Filesystems ConditionACPower=true diff --git a/scrub/xfs_scrub_all.timer b/scrub/xfs_scrub_all.timer index 2e4a33b1666..1aef11e18f9 100644 --- a/scrub/xfs_scrub_all.timer +++ b/scrub/xfs_scrub_all.timer @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Periodic XFS Online Metadata Check for All Filesystems diff --git a/scrub/xfs_scrub_fail b/scrub/xfs_scrub_fail index 36dd50e9653..8ada5dbbe06 100755 --- a/scrub/xfs_scrub_fail +++ b/scrub/xfs_scrub_fail @@ -1,5 +1,10 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + # Email logs of failed xfs_scrub unit runs mailer=/usr/sbin/sendmail diff --git a/scrub/xfs_scrub_fail@xxxxxxxxxxx b/scrub/xfs_scrub_fail@xxxxxxxxxxx index 8d106e9ba4b..ac0cb2e283b 100644 --- a/scrub/xfs_scrub_fail@xxxxxxxxxxx +++ b/scrub/xfs_scrub_fail@xxxxxxxxxxx @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Online XFS Metadata Check Failure Reporting for %I Documentation=man:xfs_scrub(8)