Simplify cloud config
This commit is contained in:
parent
15b4a04182
commit
60ea582943
|
@ -131,18 +131,8 @@ in {
|
||||||
systemd = {
|
systemd = {
|
||||||
services =
|
services =
|
||||||
{
|
{
|
||||||
"container@chor-cloud" = {
|
|
||||||
#serviceConfig.RestartSec = 10;
|
|
||||||
unitConfig = {
|
|
||||||
#StartLimitIntervalSec = 30;
|
|
||||||
#StartLimitBurst = 2;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
rss-server = {
|
rss-server = {
|
||||||
serviceConfig = {
|
serviceConfig.ExecStart = "${pkgs.python3}/bin/python -m http.server 8842 -d /var/www/rss";
|
||||||
WorkingDirectory = "/var/www/rss";
|
|
||||||
ExecStart = "${pkgs.python3}/bin/python -m http.server 8842";
|
|
||||||
};
|
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue