質問編集履歴
1
serviceファイルの内容を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,4 +48,28 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
+
serviceファイルの内容
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
[Unit]
|
56
|
+
|
51
|
-
|
57
|
+
Description = XXXX
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
[Service]
|
62
|
+
|
63
|
+
WorkingDirectory = /home/user/pi
|
64
|
+
|
65
|
+
ExecStart = /usr/bin/python3 /home/user/pi/src/getDate.py
|
66
|
+
|
67
|
+
Restart = no
|
68
|
+
|
69
|
+
Type = simple
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
[Install]
|
74
|
+
|
75
|
+
WantedBy = multi-user.target
|