How to tell systemd to stop restarting service? [duplicate]

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
This question already has an answer here:
How do you disable a service in systemd?
1 answer
Systemd's StartLimitIntervalSec and StartLimitBurst never work
2 answers
Is there a possibility to tell systemd to not restart a service? Or force systemd to restart a service maximum 3 times. If after 3 restarts service still needs to be restarted then systemd stops this service. I am trying changing .conf file (with StartLimitBurst option) but still without good results. Is there any other option with which I could do that?
When I see logs. There is something like: Unknown lvalue 'StartLimitBurst' in section 'Unit. Why is that?
debian systemd services
marked as duplicate by maulinglawns, andcoz, schily, Guss, Isaac Aug 23 at 17:05
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
How do you disable a service in systemd?
1 answer
Systemd's StartLimitIntervalSec and StartLimitBurst never work
2 answers
Is there a possibility to tell systemd to not restart a service? Or force systemd to restart a service maximum 3 times. If after 3 restarts service still needs to be restarted then systemd stops this service. I am trying changing .conf file (with StartLimitBurst option) but still without good results. Is there any other option with which I could do that?
When I see logs. There is something like: Unknown lvalue 'StartLimitBurst' in section 'Unit. Why is that?
debian systemd services
marked as duplicate by maulinglawns, andcoz, schily, Guss, Isaac Aug 23 at 17:05
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
This is actually the same as unix.stackexchange.com/questions/463917 .
â JdeBP
Aug 23 at 9:44
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
How do you disable a service in systemd?
1 answer
Systemd's StartLimitIntervalSec and StartLimitBurst never work
2 answers
Is there a possibility to tell systemd to not restart a service? Or force systemd to restart a service maximum 3 times. If after 3 restarts service still needs to be restarted then systemd stops this service. I am trying changing .conf file (with StartLimitBurst option) but still without good results. Is there any other option with which I could do that?
When I see logs. There is something like: Unknown lvalue 'StartLimitBurst' in section 'Unit. Why is that?
debian systemd services
This question already has an answer here:
How do you disable a service in systemd?
1 answer
Systemd's StartLimitIntervalSec and StartLimitBurst never work
2 answers
Is there a possibility to tell systemd to not restart a service? Or force systemd to restart a service maximum 3 times. If after 3 restarts service still needs to be restarted then systemd stops this service. I am trying changing .conf file (with StartLimitBurst option) but still without good results. Is there any other option with which I could do that?
When I see logs. There is something like: Unknown lvalue 'StartLimitBurst' in section 'Unit. Why is that?
This question already has an answer here:
How do you disable a service in systemd?
1 answer
Systemd's StartLimitIntervalSec and StartLimitBurst never work
2 answers
debian systemd services
debian systemd services
asked Aug 23 at 9:25
user307026
1
1
marked as duplicate by maulinglawns, andcoz, schily, Guss, Isaac Aug 23 at 17:05
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by maulinglawns, andcoz, schily, Guss, Isaac Aug 23 at 17:05
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
This is actually the same as unix.stackexchange.com/questions/463917 .
â JdeBP
Aug 23 at 9:44
add a comment |Â
1
This is actually the same as unix.stackexchange.com/questions/463917 .
â JdeBP
Aug 23 at 9:44
1
1
This is actually the same as unix.stackexchange.com/questions/463917 .
â JdeBP
Aug 23 at 9:44
This is actually the same as unix.stackexchange.com/questions/463917 .
â JdeBP
Aug 23 at 9:44
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You can use systemctl disable dummy.service and that service won start again when you boot up your machine. If you want to use that service again, you have to enable it.
Regarding your "restart 3 times" query, you can see here.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can use systemctl disable dummy.service and that service won start again when you boot up your machine. If you want to use that service again, you have to enable it.
Regarding your "restart 3 times" query, you can see here.
add a comment |Â
up vote
0
down vote
You can use systemctl disable dummy.service and that service won start again when you boot up your machine. If you want to use that service again, you have to enable it.
Regarding your "restart 3 times" query, you can see here.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You can use systemctl disable dummy.service and that service won start again when you boot up your machine. If you want to use that service again, you have to enable it.
Regarding your "restart 3 times" query, you can see here.
You can use systemctl disable dummy.service and that service won start again when you boot up your machine. If you want to use that service again, you have to enable it.
Regarding your "restart 3 times" query, you can see here.
answered Aug 23 at 9:40
Apollonius
85
85
add a comment |Â
add a comment |Â
1
This is actually the same as unix.stackexchange.com/questions/463917 .
â JdeBP
Aug 23 at 9:44