Skip to content

Commit

Permalink
update systemd path
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Aug 12, 2022
1 parent 6509c6a commit c452dcd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gui/src/main/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,12 @@ RestartSec=10
[Install]
WantedBy=multi-user.target`;
};

export const SYSTEMD_PATH = (): string => {
if (process.platform === "linux") {
return "/etc/systemd/system/co.anysphere.anysphered.service";
} else {
process.stderr.write("Platform not supported");
exit(1);
}
};

0 comments on commit c452dcd

Please sign in to comment.