質問編集履歴
2
ユニットファイル 追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -49,3 +49,33 @@
|
|
49
49
|
: Unit hello.service entered failed state.
|
50
50
|
|
51
51
|
: hello.service failed.
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
以下 ユニットファイル
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
hello.service
|
62
|
+
|
63
|
+
[Unit]
|
64
|
+
|
65
|
+
Description = hello daemon
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
[Service]
|
70
|
+
|
71
|
+
ExecStart = /bin/java Test
|
72
|
+
|
73
|
+
Restart = always
|
74
|
+
|
75
|
+
Type = simple
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
[Install]
|
80
|
+
|
81
|
+
WantedBy = multi-user.target
|
1
エラーの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,3 +9,43 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
どうしたらいいかわからない状態です。 アドバイスいただけると幸いです。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
以下 ステータス です
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Redirecting to /bin/systemctl status hello.service
|
22
|
+
|
23
|
+
● hello.service - hello daemon
|
24
|
+
|
25
|
+
Loaded: loaded (/etc/systemd/system/hello.service; enabled; vendor preset: disabled)
|
26
|
+
|
27
|
+
Active: failed (Result: start-limit) since Mon 2019-04-01 16:07:04 JST; 22s ago
|
28
|
+
|
29
|
+
Process: 28275 ExecStart=/bin/java Test (code=exited, status=1/FAILURE)
|
30
|
+
|
31
|
+
Main PID: 28275 (code=exited, status=1/FAILURE)
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
: hello.service: main process exited, code=exited, status=1/FAILURE
|
36
|
+
|
37
|
+
: Unit hello.service entered failed state.
|
38
|
+
|
39
|
+
: hello.service failed.
|
40
|
+
|
41
|
+
: hello.service holdoff time over, scheduling restart.
|
42
|
+
|
43
|
+
: Stopped hello daemon.
|
44
|
+
|
45
|
+
: start request repeated too quickly for hello.service
|
46
|
+
|
47
|
+
: Failed to start hello daemon.
|
48
|
+
|
49
|
+
: Unit hello.service entered failed state.
|
50
|
+
|
51
|
+
: hello.service failed.
|