My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[marvin] grimmory: add systemd slice

dish a32fed96 12ae23dd

+6
+6
hosts/marvin/services/library.nix
··· 28 28 in 29 29 { 30 30 systemd = { 31 + slices.system-grimmory = { 32 + description = "Grimmory Ebook Manager System Slice"; 33 + documentation = [ "https://grimmory.org" ]; 34 + }; 31 35 services = { 32 36 grimmory-db-proxy = { 33 37 description = "Grimmory DB Proxy"; 34 38 wantedBy = [ "grimmory.service" ]; 35 39 after = [ "mysql.service" ]; 36 40 serviceConfig = { 41 + Slice = "system-grimmory.slice"; 37 42 User = "booklore"; 38 43 Group = "booklore"; 39 44 ExecStart = "${lib.getExe pkgs.socat} tcp-l:3307,reuseaddr,fork unix:/run/mysqld/mysqld.sock"; ··· 80 85 }; 81 86 82 87 serviceConfig = { 88 + Slice = "system-grimmory.slice"; 83 89 User = "booklore"; 84 90 Group = "booklore"; 85 91 StateDirectory = "booklore";