Skip to content

Commit

Permalink
Merge pull request #94 from patka-123/add-systemd-ordering
Browse files Browse the repository at this point in the history
Add order for nixos module systemd service
  • Loading branch information
antifuchs authored Jan 27, 2024
2 parents c0041d4 + 1beddcd commit 238f25e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ in {
{
wantedBy = ["multi-user.target"];
after = ["network-online.target"];
wants = ["network-online.target"];
script = ''
exec ${service.package}/bin/tsnsrv -stateDir=$STATE_DIRECTORY/tsnet-tsnsrv ${lib.escapeShellArgs (serviceArgs {inherit name service;})}
'';
Expand Down

0 comments on commit 238f25e

Please sign in to comment.