diff options
author | William Carroll <wpcarro@gmail.com> | 2020-02-23T19·32+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-02-23T19·32+0000 |
commit | 3f46ac65133721262380033cfa6820f03a90be6f (patch) | |
tree | 5a94c87de39a261cfadfa0963c3611dcaba12f51 /nixos | |
parent | f926b4d61ab9fbb2831c52594ed2e523842c1e24 (diff) |
Change systemd unit type: oneshot -> simple
"oneshot", according to `man systemd.service`, "will consider the unit up after the main process exits". Since I designed token-server to run continuously, it will not intentionally exit; therefore, systemd awaits its exit, which never comes. "simple", on the other hand, does what I want.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/configuration.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index f34e15f00495..a60164cb75bf 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -90,7 +90,7 @@ in { serviceConfig = { WorkingDirectory = "%h/briefcase/monzo_ynab"; - Type = "oneshot"; + Type = "simple"; }; }; |