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.
This commit is contained in:
William Carroll 2020-02-23 19:32:52 +00:00
parent f926b4d61a
commit 3f46ac6513

View file

@ -90,7 +90,7 @@ in {
serviceConfig = { serviceConfig = {
WorkingDirectory = "%h/briefcase/monzo_ynab"; WorkingDirectory = "%h/briefcase/monzo_ynab";
Type = "oneshot"; Type = "simple";
}; };
}; };