add systemd service
This commit is contained in:
parent
81a70b3bb7
commit
4590b43209
1 changed files with 14 additions and 0 deletions
|
|
@ -24,4 +24,18 @@ in {
|
||||||
];
|
];
|
||||||
log-driver = "journald";
|
log-driver = "journald";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services."docker-dockge" = {
|
||||||
|
serviceConfig = {
|
||||||
|
Restart = "always";
|
||||||
|
RestartMaxDelaySec = "1m";
|
||||||
|
RestartSec = "100ms";
|
||||||
|
RestartSteps = 9;
|
||||||
|
};
|
||||||
|
wantedBy = [
|
||||||
|
"multi-user.target"
|
||||||
|
"network.target"
|
||||||
|
"docker.service"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue