fix systemd network dependency
This commit is contained in:
parent
d7970444d7
commit
f5b59ef0cb
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
systemd.services.dogetipbot-telegram = {
|
systemd.services.dogetipbot-telegram = {
|
||||||
after = [ "network.target" ];
|
after = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
script = "${app}/bin/dogetipbot-telegram --db-path $STATE_DIRECTORY/users.db";
|
script = "${app}/bin/dogetipbot-telegram --db-path $STATE_DIRECTORY/users.db";
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user