summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/system_service.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-3/+4
2025-06-19Add start-service command to mullvad-setup on WindowsDavid Lönnhager1-3/+5
2025-02-25Allow undocumented_unsafe_blocks in even more modulesJoakim Hulthe1-0/+2
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-3/+2
2024-04-09Use single-threaded runtime when launching serviceDavid Lönnhager1-2/+2
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-6/+5
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2023-08-08Migrate from libc::c_void to std::ffi::c_voidLinus Färnstrand1-2/+1
2023-08-04Replace all use of `lazy_static` with `once_cell`Markus Pettersson1-6/+7
To align more with the upcoming standardizations within the Rust ecosystem which started with the release of `1.70.0` and the inevitable deprecation of `lazy_static`.
2023-04-26Fix remaining clippy warningsDavid Lönnhager1-2/+2
2023-04-21Apply clippy --fix fixesLinus Färnstrand1-2/+2
This commit does not contain everything that `cargo clippy --fix` changed on Windows. But the least controversial and simplest subset. The remaining fixes I felt could use some manual cleanup also.
2022-09-20Add shutdown detection for Windows serviceDavid Lönnhager1-92/+47
2022-09-01Replace winapi with windows-sys for all remaining cratesDavid Lönnhager1-11/+10
2021-12-17Improve unsafe code usage in system service moduleDavid Lönnhager1-15/+17
2021-11-29Reformat code without blank_lines_upper_bound = 2Linus Färnstrand1-1/+0
2021-07-13Fix tokio runtime buildersDavid Lönnhager1-1/+1
2021-06-10Disable service restart logDavid Lönnhager1-1/+4
2021-06-10Prolong daemon restart timeout after resuming from 'fast startup' hibernationDavid Lönnhager1-36/+13
2021-06-10Add --restart-service option to the daemon on WindowsDavid Lönnhager1-1/+54
2020-10-21Log errors before stopping the serviceDavid Lönnhager1-12/+17
2020-09-01Reduce excessive thread countDavid Lönnhager1-7/+6
2020-09-01Replace tokio handle references in `Daemon` with async/await syntaxDavid Lönnhager1-14/+15
2020-09-01Share tokio runtime between the management interface and daemonDavid Lönnhager1-12/+29
2020-06-18Bump windows-service-rsDavid Lönnhager1-0/+1
2020-01-28Fix Rust formattingDavid Lönnhager1-3/+4
2020-01-28Restart daemon after system hibernationOdd Stranne1-7/+156
2019-12-09Fix formattingLinus Färnstrand1-5/+7
2019-12-06Configure service SID info as 'unrestricted'Odd Stranne1-3/+11
2019-12-06Register NSI as a service dependencyOdd Stranne1-0/+3
2019-12-06Update configuration on existing service during installationOdd Stranne1-7/+16
2019-11-19Save time as durations instead of integersLinus Färnstrand1-8/+5
2019-11-19Fix formattingEmīls1-1/+3
2019-11-19Change service recovery settingsOdd Stranne1-5/+19
2019-10-17Upgrade err-derive to 0.2.1Linus Färnstrand1-2/+3
2019-07-25Specify recovery actions for daemon on WindowsEmīls Piņķis1-10/+53
2019-05-08Remove stated WMI dependency in daemonOdd Stranne1-2/+0
2019-04-12Fix windows error mappingLinus Färnstrand1-3/+3
2019-04-12Make get_service_info infallibleLinus Färnstrand1-4/+4
2019-04-12Fix error handling in system_serviceLinus Färnstrand1-14/+21
2019-03-26Update result signaturesLinus Färnstrand1-6/+5
2019-01-18Fix import path errorsLinus Färnstrand1-2/+2
2018-12-13Activate the merge_imports rustfmt featureLinus Färnstrand1-10/+13
2018-12-03Activate the use_field_init_shorthand rustfmt optionLinus Färnstrand1-2/+2
2018-11-09Update windows-service-rsAndrej Mihajlov1-1/+1
2018-10-29Remove #[macro_use] from log crateLinus Färnstrand1-11/+16
2018-10-29Remove a number of #[macro_use] in favor of new way of importingLinus Färnstrand1-1/+1
2018-10-24Fix various warnings emitted by the Clippy linterLinus Färnstrand1-1/+1
2018-09-24Split mullvad_daemon into lib.rs and main.rsLinus Färnstrand1-10/+9
2018-07-17Properly stop the service, announcing errors to the system, in the event of ↵Andrej Mihajlov1-11/+14
initialization or runtime error.
2018-07-16Always log process exit codeLinus Färnstrand1-1/+1
2018-06-28Increase the pending stop timeout from 3 to 10 secondsAndrej Mihajlov1-1/+1