Commit Graph

15 Commits

Author SHA1 Message Date
Jordan Dominion d57023798e Fix systemd dependencies 2025-04-12 11:29:22 -04:00
Jordan Dominion c5341b4471 Move SystemD arg responsibility from service to Host Watchdog 2024-08-31 21:32:39 -04:00
Jordan Dominion d82b5b5bd1 Add missing ptrace capability to systemd service 2024-08-18 12:22:01 -04:00
Jordan Dominion be6fe8fa88 Run systemd as the user tgstation-server
- Fix .deb build only working in gh-actions tailored environment.
- Fix indentation in `rules`.
- Fix build script not working fully without a signing key.
- Standardize to node 20 as a build dependency.
- Fix my ADHD in the `README.md`.

Closes #1658
2023-11-04 17:29:54 -04:00
Kyle Spier-Swenson 83dbe1b837 Fix restart policy
These are case sensitive,
2023-08-07 21:38:35 -07:00
Jordan Dominion d0d9e7b2ba Switch from .vdproj to .wixprojs
Wix is just better, it drives the fucking Visual Studio installer for gods' sakes. Thankfully, v4 is a whole lot better than v3 in that it's native dotnet tooling.

- Added ability to set base path for loading configuration files.
- Added Service command descriptions for help text.
- New `.exe` installer also installs dotnet dependencies.
- New `.msi` properly invokes configure, sets up and controls service, sends detach stop signal on upgrades, and uses ProgramData for configs with appropriate permissions.
- Remove .deb symlinks in favor of explicitly setting config directory.
- Adjust CI pipeline with new installer changes.
- Appropriately bump TGS migrator version.
2023-07-02 04:08:14 -04:00
Jordan Dominion 1da9370a44 Use SystemD journal if file logging is disabled 2023-06-25 21:00:32 -04:00
Jordan Dominion 91f197c121 Set WorkingDirectory in .service to avoid tgs.sh 2023-06-23 20:22:41 -04:00
Jordan Dominion b75571aa25 Use SIGTERM for WatchdogSignal
The host watchdog will kill the main process if it needs to.
2023-06-23 20:15:09 -04:00
Jordan Dominion 647ed308bb Fully support notify-reload 2023-06-23 13:37:16 -04:00
Jordan Dominion be5e3fddb6 Add SystemD notify support 2023-06-23 00:38:08 -04:00
Jordan Dominion bedbb5ab8b SIGUSR2 does not let DreamDaemon gracefully shutdown 2023-06-21 02:39:10 -04:00
Jordan Dominion 1bf2c0a47e Use the correct systemd KillMode for TGS 2023-06-21 02:11:38 -04:00
Jordan 12706b1914 Debian package builds
Also prevent setup Ctrl+C from blocking
2023-06-19 05:49:51 -04:00
Jordan 1af149f81c Add Systemd unit
Closes #1420
2023-06-19 05:16:45 -04:00