service amnd call at same level
This commit is contained in:
+294
-292
File diff suppressed because it is too large
Load Diff
@@ -8,7 +8,8 @@
|
|||||||
${pkgs.bash}/bin/bash -c 'cd $HOME && ${./assets/scripts/end_script.sh}'
|
${pkgs.bash}/bin/bash -c 'cd $HOME && ${./assets/scripts/end_script.sh}'
|
||||||
'';
|
'';
|
||||||
serviceConfig.Restart = "no";
|
serviceConfig.Restart = "no";
|
||||||
|
# Enable the service here, inside the definition
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.endScript.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user