fix forking and Exec

This commit is contained in:
Tassilo - 2022-04-23 19:20:12 +02:00
parent 2c605ce1db
commit dee66334af
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07

View File

@ -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";
};