mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
1 parent
6d926f0413
commit
a60d26e478
17 files changed
+33
-26
No files matched your search
@@ -30,7 +30,7 @@ pub(super) async fn console_auto_stop(&self) {
|
||||
/// Execute admin commands after startup
|
||||
#[implement(super::Service)]
|
||||
pub(super) async fn startup_execute(&self) -> Result {
|
||||
// List of comamnds to execute
|
||||
// List of commands to execute
|
||||
let commands = &self.services.server.config.admin_execute;
|
||||
|
||||
// Determine if we're running in smoketest-mode which will change some behaviors
|
||||
@@ -74,7 +74,7 @@ pub(super) async fn startup_execute(&self) -> Result {
|
||||
/// Execute admin commands after signal
|
||||
#[implement(super::Service)]
|
||||
pub(super) async fn signal_execute(&self) -> Result {
|
||||
// List of comamnds to execute
|
||||
// List of commands to execute
|
||||
let commands = self
|
||||
.services
|
||||
.server
|
||||
|
||||
@@ -172,7 +172,7 @@ impl Service {
|
||||
.map_err(|e| err!("Failed to enqueue admin command: {e:?}"))
|
||||
}
|
||||
|
||||
/// Dispatches a comamnd to the processor on the current task and waits for
|
||||
/// Dispatches a command to the processor on the current task and waits for
|
||||
/// completion.
|
||||
pub async fn command_in_place(
|
||||
&self,
|
||||
|
||||
Reference in new issue
Block a user