fix network dependency
This commit is contained in:
parent
f5b59ef0cb
commit
667e318212
@ -33,6 +33,7 @@
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
systemd.services.dogetipbot-telegram = {
|
systemd.services.dogetipbot-telegram = {
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
|
wants = [ "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