Guest User

Untitled

a guest
Aug 19th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. systemd.user.services.work_postgres = {
  2. Unit = { Description = "work postgres"; };
  3. Service = {
  4. WorkingDirectory = "/home/mog/code/work";
  5.  
  6. ExecStart =
  7. "${pkgs.postgresql}/bin/postgres -D /home/mog/code/work/.postgres/data -k /home/mog/code/work/.postgres/run";
  8. Restart = "always";
  9. };
  10. };
  11.  
Add Comment
Please, Sign In to add comment