mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
trying generation of config file (oott.toml)
This commit is contained in:
@@ -36,11 +36,11 @@ in {
|
||||
wantedBy = ["multi-user.target"];
|
||||
|
||||
serviceConfig = {
|
||||
# ExecStart = "${cfg.package}/bin/oott ${
|
||||
# builtins.toFile "oott.toml"
|
||||
# (generators.toTOML {} cfg)
|
||||
# }";
|
||||
ExecStart = "${pkgs.oott}/bin/oott";
|
||||
ExecStart = "${pkgs.oott}/bin/oott ${
|
||||
builtins.toFile "oott.toml"
|
||||
(generators.toTOML {} cfg)
|
||||
}";
|
||||
# ExecStart = "${pkgs.oott}/bin/oott";
|
||||
ProtectHome = "read-only";
|
||||
Restart = "on-failure";
|
||||
Type = "exec";
|
||||
|
||||
Reference in New Issue
Block a user