Files
NanamiAdmin 5e9bdf02f9 fix(utils): now it can be successfully restarted when deployed as systemd service
- Add `getSystemdServiceName` function to get systemd service name.
- When detected as systemd sevice, use `systemctl restart` to restart the program then exit.
2026-06-04 12:05:09 +08:00
..