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"];
|
wantedBy = ["multi-user.target"];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# ExecStart = "${cfg.package}/bin/oott ${
|
ExecStart = "${pkgs.oott}/bin/oott ${
|
||||||
# builtins.toFile "oott.toml"
|
builtins.toFile "oott.toml"
|
||||||
# (generators.toTOML {} cfg)
|
(generators.toTOML {} cfg)
|
||||||
# }";
|
}";
|
||||||
ExecStart = "${pkgs.oott}/bin/oott";
|
# ExecStart = "${pkgs.oott}/bin/oott";
|
||||||
ProtectHome = "read-only";
|
ProtectHome = "read-only";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
|
|||||||
Reference in New Issue
Block a user