tsuki: init jellyfin-rpc on startup
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
This commit is contained in:
parent
811f5beae1
commit
aec3e12a23
1 changed files with 16 additions and 0 deletions
16
hosts/tsuki/services/jellyfin-rpc.nix
Normal file
16
hosts/tsuki/services/jellyfin-rpc.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
_: {
|
||||
systemd.services.jellyfin-rpc = {
|
||||
enable = true;
|
||||
wantedBy = [
|
||||
"multi-user.target"
|
||||
];
|
||||
description = "Displays the content you're currently watching on Discord!";
|
||||
|
||||
serviceConfig = {
|
||||
User = "root";
|
||||
ExecStart = "/nix/store/gfwcai4i1cl3w8lbli4dsg0z369z2fn4-user-environment/bin/jellyfin-rpc --config /home/notoh/.config/jellyfin-rpc/main.json";
|
||||
Restart = "always";
|
||||
RestartSec = 30;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue