Change systemd stop job timeout in NixOS configuration
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
The systemd stop job timeout defaults to 90s. Does NixOS have a configuration parameter to change this value?
systemd nixos
add a comment |Â
up vote
0
down vote
favorite
The systemd stop job timeout defaults to 90s. Does NixOS have a configuration parameter to change this value?
systemd nixos
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The systemd stop job timeout defaults to 90s. Does NixOS have a configuration parameter to change this value?
systemd nixos
The systemd stop job timeout defaults to 90s. Does NixOS have a configuration parameter to change this value?
systemd nixos
asked Jun 6 at 19:06
Matthew Piziak
5319
5319
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
Add the following to your configuration.nix
:
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
add a comment |Â
up vote
0
down vote
I don't know about NixOS specifically, but man systemd-system.conf
for me lists DefaultTimeoutStopSec=
as the default timeout for ... stopping of units. A local administrator would typically change this in /etc/systemd/system.conf
. A Unit can have its own TimeoutStopSec=
value.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Add the following to your configuration.nix
:
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
add a comment |Â
up vote
1
down vote
accepted
Add the following to your configuration.nix
:
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Add the following to your configuration.nix
:
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
Add the following to your configuration.nix
:
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
answered Aug 2 at 16:59
Mic92
1612
1612
add a comment |Â
add a comment |Â
up vote
0
down vote
I don't know about NixOS specifically, but man systemd-system.conf
for me lists DefaultTimeoutStopSec=
as the default timeout for ... stopping of units. A local administrator would typically change this in /etc/systemd/system.conf
. A Unit can have its own TimeoutStopSec=
value.
add a comment |Â
up vote
0
down vote
I don't know about NixOS specifically, but man systemd-system.conf
for me lists DefaultTimeoutStopSec=
as the default timeout for ... stopping of units. A local administrator would typically change this in /etc/systemd/system.conf
. A Unit can have its own TimeoutStopSec=
value.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I don't know about NixOS specifically, but man systemd-system.conf
for me lists DefaultTimeoutStopSec=
as the default timeout for ... stopping of units. A local administrator would typically change this in /etc/systemd/system.conf
. A Unit can have its own TimeoutStopSec=
value.
I don't know about NixOS specifically, but man systemd-system.conf
for me lists DefaultTimeoutStopSec=
as the default timeout for ... stopping of units. A local administrator would typically change this in /etc/systemd/system.conf
. A Unit can have its own TimeoutStopSec=
value.
answered Jun 7 at 8:11
meuh
29.2k11648
29.2k11648
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448268%2fchange-systemd-stop-job-timeout-in-nixos-configuration%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password