@@ -1,3 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2018 Oracle. All Rights Reserved.
+# Author: Darrick J. Wong <djwong@kernel.org>
+
[Unit]
Description=Online XFS Metadata Check for %I
OnFailure=xfs_scrub_fail@%i.service
@@ -1 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2018 Oracle. All Rights Reserved.
+# Author: Darrick J. Wong <djwong@kernel.org>
+#
10 3 * * 0 root test -e /run/systemd/system || @sbindir@/xfs_scrub_all
@@ -1,3 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2018 Oracle. All Rights Reserved.
+# Author: Darrick J. Wong <djwong@kernel.org>
+
[Unit]
Description=Online XFS Metadata Check for All Filesystems
ConditionACPower=true
@@ -1,3 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2018 Oracle. All Rights Reserved.
+# Author: Darrick J. Wong <djwong@kernel.org>
+
[Unit]
Description=Periodic XFS Online Metadata Check for All Filesystems
@@ -1,5 +1,10 @@
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2018 Oracle. All Rights Reserved.
+# Author: Darrick J. Wong <djwong@kernel.org>
+
# Email logs of failed xfs_scrub unit runs
mailer=/usr/sbin/sendmail
@@ -1,3 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2018 Oracle. All Rights Reserved.
+# Author: Darrick J. Wong <djwong@kernel.org>
+
[Unit]
Description=Online XFS Metadata Check Failure Reporting for %I
Documentation=man:xfs_scrub(8)