mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-05-31 05:19:23 +02:00
fix forking and Exec
This commit is contained in:
parent
2c605ce1db
commit
dee66334af
|
@ -14,7 +14,7 @@
|
|||
'';
|
||||
|
||||
serviceConfig = {
|
||||
Forking = true;
|
||||
Type = "forking";
|
||||
User = "gnuradio";
|
||||
Restart = "always";
|
||||
};
|
||||
|
@ -24,12 +24,9 @@
|
|||
enable = true;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
script = ''
|
||||
${pkgs.telegram-decode}/bin/decode_telegrams.py
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
Forking = true;
|
||||
Exec = "${pkgs.telegram-decode}/bin/decode_telegrams.py";
|
||||
Type = "forking";
|
||||
User = "telegram-decoder";
|
||||
Restart = "always";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user