summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-06-27 20:01:34 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2021-06-27 20:01:34 +0100
commite906e039337f290b1965a5c6e68e1ea3f4c0c89d (patch)
tree9bddc372b6d6898e2acb7e2253b43c23fd95fdf4
parent67af8fb3c97fa434f1a4978030a4fb50939bc619 (diff)
Add SPDX tags
-rw-r--r--example/example.service3
-rw-r--r--example/example.socket3
-rw-r--r--example/main.go3
-rw-r--r--example_test.go3
-rw-r--r--socket.go3
-rw-r--r--socket_dummy.go3
-rw-r--r--socket_linux.go3
7 files changed, 21 insertions, 0 deletions
diff --git a/example/example.service b/example/example.service
index c02b755..7a58333 100644
--- a/example/example.service
+++ b/example/example.service
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+# SPDX-License-Identifier: ISC
+
[Unit]
Description=gosdd Example Service
diff --git a/example/example.socket b/example/example.socket
index 467e437..8e5cdb6 100644
--- a/example/example.socket
+++ b/example/example.socket
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+# SPDX-License-Identifier: ISC
+
[Unit]
Description=gosdd Example Socket
diff --git a/example/main.go b/example/main.go
index 66eace2..9cd0d05 100644
--- a/example/main.go
+++ b/example/main.go
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+// SPDX-License-Identifier: ISC
+
// This implements a simple example that can be tested on a machine
// running systemd.
package main
diff --git a/example_test.go b/example_test.go
index e12eaa7..7bf67ed 100644
--- a/example_test.go
+++ b/example_test.go
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+// SPDX-License-Identifier: ISC
+
package gosdd_test
import (
diff --git a/socket.go b/socket.go
index 941d5f0..d982812 100644
--- a/socket.go
+++ b/socket.go
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+// SPDX-License-Identifier: ISC
+
// Package gosdd provides simple wrappers around useful functions
// provided by systemd.
//
diff --git a/socket_dummy.go b/socket_dummy.go
index d540f1b..4311e6c 100644
--- a/socket_dummy.go
+++ b/socket_dummy.go
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+// SPDX-License-Identifier: ISC
+
// +build !linux nosystemd
package gosdd
diff --git a/socket_linux.go b/socket_linux.go
index 8360318..6616d04 100644
--- a/socket_linux.go
+++ b/socket_linux.go
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
+// SPDX-License-Identifier: ISC
+
// +build linux,!nosystemd
package gosdd