systemd-ts 262.0.0 → 262.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,26 +12,18 @@ It is designed around a few practical jobs:
12
12
 
13
13
  The library has two layers:
14
14
 
15
- - `systemd.ts.*` is the code-owned upkeep layer for attaching, reattaching, and
16
- detaching application-managed units.
17
- - `systemd.*` stays close to raw `systemd` concepts like materializing units and
18
- starting them directly.
15
+ - `systemd.ts.*` is the code-owned upkeep layer for attaching, reattaching, and detaching application-managed units.
16
+ - `systemd.*` stays close to raw `systemd` concepts like materializing units and starting them directly.
19
17
 
20
- That lets the README start from the application code story without giving up a
21
- lower-level `systemd` surface when you want it.
18
+ That lets the README start from the application code story without giving up a lower-level `systemd` surface when you want it.
22
19
 
23
- It is also a good place to learn `systemd` itself. The unit directives are
24
- deeply typed, documented in the TypeScript surface, and maintained against
25
- versioned upstream manpage material, so the library doubles as a guided way to
26
- explore what `systemd` can do without starting from loose strings and scattered
27
- shell examples.
20
+ It is also a good place to learn `systemd` itself. The unit directives are deeply typed, documented in the TypeScript surface, and maintained against versioned upstream manpage material, so the library doubles as a guided way to explore what `systemd` can do without starting from loose strings and scattered shell examples.
28
21
 
29
22
  ## What It Can Do
30
23
 
31
24
  ### Keep application-owned units up to date
32
25
 
33
- If your application owns a service or timer and wants to keep that unit set up
34
- to date across reinstalls, updates, or reconfiguration, use `systemd.ts`.
26
+ If your application owns a service or timer and wants to keep that unit set up to date across reinstalls, updates, or reconfiguration, use `systemd.ts`.
35
27
 
36
28
  ```ts
37
29
  import { homedir } from "node:os";
@@ -77,10 +69,7 @@ if (!attached.ok) {
77
69
  }
78
70
  ```
79
71
 
80
- This is the highest-level upkeep workflow in the library. It is designed for
81
- desktop apps, self-updating agents, OTA-managed software, and other code-owned
82
- service setups where the application itself is responsible for the unit set it
83
- maintains.
72
+ This is the highest-level upkeep workflow in the library. It is designed for desktop apps, self-updating agents, OTA-managed software, and other code-owned service setups where the application itself is responsible for the unit set it maintains.
84
73
 
85
74
  ### Use `systemctl` from TypeScript
86
75
 
@@ -105,9 +94,7 @@ console.log(timers.value);
105
94
  console.log(status.value);
106
95
  ```
107
96
 
108
- This is a good fit when you already know the units you want to inspect or
109
- control and you want to stay inside TypeScript instead of shelling out from app
110
- code by hand.
97
+ This is a good fit when you already know the units you want to inspect or control and you want to stay inside TypeScript instead of shelling out from app code by hand.
111
98
 
112
99
  ### Define a service from TypeScript
113
100
 
@@ -130,8 +117,7 @@ const service = new SystemdService({
130
117
  });
131
118
  ```
132
119
 
133
- That service can be rendered into a real unit file, materialized into a unit
134
- directory, and then managed through `Systemd` or `Systemctl`.
120
+ That service can be rendered into a real unit file, materialized into a unit directory, and then managed through `Systemd` or `Systemctl`.
135
121
 
136
122
  ### Define a service that runs on a timer
137
123
 
@@ -164,13 +150,11 @@ const timer = new SystemdTimer({
164
150
  });
165
151
  ```
166
152
 
167
- This gives you a real `.service` plus a real `.timer`, both defined from the
168
- same TypeScript module.
153
+ This gives you a real `.service` plus a real `.timer`, both defined from the same TypeScript module.
169
154
 
170
155
  ### Keep the executable close to the unit definitions
171
156
 
172
- For many projects, the nicest workflow is to colocate the job entrypoint with
173
- the service and timer that run it.
157
+ For many projects, the nicest workflow is to colocate the job entrypoint with the service and timer that run it.
174
158
 
175
159
  `defineExecutable()` is designed for that pattern:
176
160
 
@@ -208,8 +192,7 @@ const timer = new SystemdTimer({
208
192
  });
209
193
  ```
210
194
 
211
- That keeps the scheduled code, the service definition, and the timer definition
212
- near each other instead of scattering them across shell scripts and unit files.
195
+ That keeps the scheduled code, the service definition, and the timer definition near each other instead of scattering them across shell scripts and unit files.
213
196
 
214
197
  ## A Typical Flow
215
198
 
@@ -266,8 +249,7 @@ if (!reattached.ok) {
266
249
 
267
250
  ### Using The `Systemd` API Directly
268
251
 
269
- If you want to stay closer to raw `systemd` operations, use the lower-level
270
- `Systemd` methods directly:
252
+ If you want to stay closer to raw `systemd` operations, use the lower-level `Systemd` methods directly:
271
253
 
272
254
  ```ts
273
255
  import { homedir } from "node:os";
@@ -318,18 +300,13 @@ if (!started.ok) {
318
300
  }
319
301
  ```
320
302
 
321
- This lower-level flow is useful when you want exact control over
322
- materialization, enablement, or startup behavior without going through the
323
- code-owned upkeep layer.
303
+ This lower-level flow is useful when you want exact control over materialization, enablement, or startup behavior without going through the code-owned upkeep layer.
324
304
 
325
305
  ## Testing Against A Real User Manager
326
306
 
327
- The package also ships a `systemd-ts/test` module for integration tests that
328
- need a real `systemd --user` environment.
307
+ The package also ships a `systemd-ts/test` module for integration tests that need a real `systemd --user` environment.
329
308
 
330
- Use `ensureTestHost()` to warm the test host, `createTestSandbox()` to create
331
- an isolated unit directory, and `sandboxSystemd()` when you want a `Systemd`
332
- instance already pointed at that sandbox.
309
+ Use `ensureTestHost()` to warm the test host, `createTestSandbox()` to create an isolated unit directory, and `sandboxSystemd()` when you want a `Systemd` instance already pointed at that sandbox.
333
310
 
334
311
  ```ts
335
312
  import { afterEach, beforeAll, beforeEach, test } from "vitest";
@@ -379,16 +356,13 @@ test(`starts a service in a sandbox`, async () => {
379
356
  });
380
357
  ```
381
358
 
382
- If you need direct executor access for helpers outside `Systemd`, the same
383
- module also exports `guestCommandExecutor`, `isolatedGuestCommandExecutor`, and
384
- `createGuestCommandExecutor()`.
359
+ If you need direct executor access for helpers outside `Systemd`, the same module also exports `guestCommandExecutor`, `isolatedGuestCommandExecutor`, and `createGuestCommandExecutor()`.
385
360
 
386
361
  ## Explore Further
387
362
 
388
363
  The README is meant to answer what the library is for.
389
364
 
390
- If you want the exact method surface, result types, or lower-level details, the
391
- next places to look are:
365
+ If you want the exact method surface, result types, or lower-level details, the next places to look are:
392
366
 
393
367
  - `Systemctl` for direct `systemctl` usage from TypeScript
394
368
  - `Systemd` for materialization plus unit lifecycle workflows
@@ -203,6 +203,7 @@ type PressureWatchDirectiveValue = boolean | "auto" | "skip";
203
203
  type StandardInputDirectiveValue = "null" | "tty" | "tty-force" | "tty-fail" | "data" | "socket" | "fd" | `file:${string}` | `fd:${string}`;
204
204
  type StandardOutputDirectiveValue = "inherit" | "null" | "tty" | "journal" | "kmsg" | "journal+console" | "kmsg+console" | "socket" | "fd" | `file:${string}` | `append:${string}` | `truncate:${string}` | `fd:${string}`;
205
205
  type StandardErrorDirectiveValue = StandardOutputDirectiveValue | "inherit";
206
+ /** Command lines for `Exec*=` directives. A `+` executable prefix bypasses per-command privilege restrictions and `Limit*=` settings, including manager-configured defaults; the command inherits the service manager's resource limits. Controls applying to the whole cgroup still apply. Source: systemd v262.1, `systemd.service(5)`. */
206
207
  type ExecDirective = string | Executable | readonly (string | Executable)[];
207
208
  type UnitValue = string | number | boolean | Executable;
208
209
  type UnitValueList = readonly UnitValue[];
@@ -214,7 +215,7 @@ interface CustomDirectiveSection {
214
215
  * Generic unit-level directives shared by service and timer units.
215
216
  *
216
217
  * References in this file are grounded in cached upstream systemd manpages,
217
- * reviewed through v262. Individual directives identify their documentation source.
218
+ * reviewed through v262.1. Individual directives identify their documentation source.
218
219
  *
219
220
  * Sources:
220
221
  * - systemd v262, `systemd.unit(5)`
@@ -525,7 +526,7 @@ interface SystemdTimerSection extends CustomDirectiveSection {
525
526
  *
526
527
  * This interface includes directives from `systemd.service(5)`,
527
528
  * `systemd.exec(5)`, `systemd.kill(5)`, and
528
- * `systemd.resource-control(5)`, reviewed through systemd v262.
529
+ * `systemd.resource-control(5)`, reviewed through systemd v262.1.
529
530
  */
530
531
  interface SystemdServiceSection extends CustomDirectiveSection {
531
532
  /** This setting controls the cpuset controller in the unified hierarchy. Source: systemd v260.1, `systemd.resource-control(5)`. */
@@ -698,37 +699,37 @@ interface SystemdServiceSection extends CustomDirectiveSection {
698
699
  readonly KillMode?: "control-group" | "mixed" | "process" | "none";
699
700
  /** Specifies which signal to use when stopping a service. This controls the signal that is sent as first step of shutting down a unit (see above), and is usually followed by SIGKILL (see above and below). For a list of valid signals, see signal(7). Defaults to SIGTERM. Source: systemd v260.1, `systemd.kill(5)`. */
700
701
  readonly KillSignal?: NodeJS.Signals | number;
701
- /** Maximum address-space size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
702
+ /** Maximum address-space size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
702
703
  readonly LimitAS?: ProcessResourceLimitDirectiveValue;
703
- /** Maximum core-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
704
+ /** Maximum core-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
704
705
  readonly LimitCORE?: ProcessResourceLimitDirectiveValue;
705
- /** Maximum CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
706
+ /** Maximum CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
706
707
  readonly LimitCPU?: ProcessResourceLimitDirectiveValue;
707
- /** Maximum data-segment size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
708
+ /** Maximum data-segment size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
708
709
  readonly LimitDATA?: ProcessResourceLimitDirectiveValue;
709
- /** Maximum created-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
710
+ /** Maximum created-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
710
711
  readonly LimitFSIZE?: ProcessResourceLimitDirectiveValue;
711
- /** Maximum number of file locks for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
712
+ /** Maximum number of file locks for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
712
713
  readonly LimitLOCKS?: ProcessResourceLimitDirectiveValue;
713
- /** Maximum locked-in-memory size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
714
+ /** Maximum locked-in-memory size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
714
715
  readonly LimitMEMLOCK?: ProcessResourceLimitDirectiveValue;
715
- /** Maximum POSIX message-queue size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
716
+ /** Maximum POSIX message-queue size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
716
717
  readonly LimitMSGQUEUE?: ProcessResourceLimitDirectiveValue;
717
- /** Maximum nice-priority adjustment for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
718
+ /** Maximum nice-priority adjustment for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
718
719
  readonly LimitNICE?: ProcessResourceLimitDirectiveValue;
719
- /** Maximum number of open file descriptors for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
720
+ /** Maximum number of open file descriptors for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
720
721
  readonly LimitNOFILE?: ProcessResourceLimitDirectiveValue;
721
- /** Maximum number of processes or threads for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
722
+ /** Maximum number of processes or threads for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
722
723
  readonly LimitNPROC?: ProcessResourceLimitDirectiveValue;
723
- /** Maximum resident-set size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
724
+ /** Maximum resident-set size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
724
725
  readonly LimitRSS?: ProcessResourceLimitDirectiveValue;
725
- /** Maximum real-time scheduling priority for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
726
+ /** Maximum real-time scheduling priority for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
726
727
  readonly LimitRTPRIO?: ProcessResourceLimitDirectiveValue;
727
- /** Maximum real-time CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
728
+ /** Maximum real-time CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
728
729
  readonly LimitRTTIME?: ProcessResourceLimitDirectiveValue;
729
- /** Maximum number of queued signals for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
730
+ /** Maximum number of queued signals for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
730
731
  readonly LimitSIGPENDING?: ProcessResourceLimitDirectiveValue;
731
- /** Maximum stack size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
732
+ /** Maximum stack size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
732
733
  readonly LimitSTACK?: ProcessResourceLimitDirectiveValue;
733
734
  /** Pass a credential to the unit. Credentials are limited-size binary or textual objects that may be passed to unit processes. They are primarily intended for passing cryptographic keys (both public and private) or certificates, user account information or identity information from host to services, but can be freely used to pass any kind of limited-size information to a service. The data is accessible from the unit's processes via the file system, at a read-only location that (if possible and permitted) is backed by non-swappable memory. The data is only accessible to the user associated with the unit, via the User=/DynamicUser= settings (as well as the superuser). When available, the location of credentials is exported as the $CREDENTIALS_DIRECTORY environment variable to the unit's processes. Source: systemd v260.1, `systemd.exec(5)`. */
734
735
  readonly LoadCredential?: string | readonly string[];
@@ -910,7 +911,7 @@ interface SystemdServiceSection extends CustomDirectiveSection {
910
911
  readonly RestrictNamespaces?: boolean | string | readonly string[];
911
912
  /** Takes a list of space-separated network interface names. This option restricts the network interfaces that processes of this unit can use. By default, processes can only use the network interfaces listed (allow-list). If the first character of the rule is ~, the effect is inverted: the processes can only use network interfaces not listed (deny-list). Source: systemd v260.1, `systemd.resource-control(5)`. */
912
913
  readonly RestrictNetworkInterfaces?: string | readonly string[];
913
- /** If set, any attempts to enable realtime scheduling in a process of the unit are refused. This restricts access to realtime task scheduling policies such as SCHED_FIFO, SCHED_RR or SCHED_DEADLINE. See sched7 for details about these scheduling policies. Realtime scheduling policies may be used to monopolize CPU time for longer periods of time, and may hence be used to lock up or otherwise trigger Denial-of-Service situations on the system. It is hence recommended to restrict access to realtime scheduling to the few programs that actually require them. Defaults to off. Source: systemd v260.1, `systemd.exec(5)`. */
914
+ /** If set, any attempts to enable realtime scheduling in a process of the unit are refused. This restricts access to realtime task scheduling policies such as SCHED_FIFO, SCHED_RR or SCHED_DEADLINE. See sched7 for details about these scheduling policies. Realtime scheduling policies may be used to monopolize CPU time for longer periods of time, and may hence be used to lock up or otherwise trigger Denial-of-Service situations on the system. It is hence recommended to restrict access to realtime scheduling to the few programs that actually require them. The system call filter cannot inspect the scheduling policy passed to `sched_setattr()`, so that call is blocked entirely, including for non-realtime uses. Defaults to off. Source: systemd v262.1, `systemd.exec(5)`. */
914
915
  readonly RestrictRealtime?: boolean;
915
916
  /** If set, any attempts to set the set-user-ID (SUID) or set-group-ID (SGID) bits on files or directories will be denied (for details on these bits see inode7). As the SUID/SGID bits are mechanisms to elevate privileges, and allow users to acquire the identity of other users, it is recommended to restrict creation of SUID/SGID files to the few programs that actually require them. Note that this restricts marking of any type of file system object with these bits, including both regular files and directories (where the SGID is a different meaning than for files, see documentation). This option is implied if DynamicUser= is enabled. Seccomp blocks calls with directly supplied mode bits only when SUID or SGID is requested, but blocks calls such as openat2() entirely because their mode bits cannot be inspected. Source: systemd v261.3, `systemd.exec(5)`. */
916
917
  readonly RestrictSUIDSGID?: boolean;
@@ -1641,4 +1642,4 @@ declare function defaultSystemd(): Systemd;
1641
1642
  declare const Internal: typeof internal_d_exports;
1642
1643
  //#endregion
1643
1644
  export { SystemdServiceOptions as $, CommandExecutionOptions as A, SystemctlActiveState as B, UnitLogsReadError as C, UnitStartError as D, UnitMaterializationErrorReason as E, MaterializedUnit as F, SystemctlOptions as G, SystemctlIsEnabledOptions as H, NotifyOptions as I, SystemctlStateQueryOptions as J, SystemctlServiceStatus as K, ServiceBaseName as L, CommandOutput as M, ExecutableOptions as N, AnySystemdService as O, LogsOptions as P, SystemdOptions as Q, ServiceFilename as R, UnitEnableError as S, UnitMaterializationError as T, SystemctlIsSystemRunningOptions as U, SystemctlEnablementState as V, SystemctlListTimersOptions as W, SystemctlSystemRunningState as X, SystemctlStatusOptions as Y, SystemctlTimerListEntry as Z, NotifySendErrorReason as _, SystemdTsAttachOptions as a, TimerTargetUnit as at, SystemdCommandEnvironmentReason as b, SystemdTsDetachOptions as c, SystemdTimer as ct, Systemctl as d, defineExecutable as dt, SystemdTimerOptions as et, notify as f, Result as ft, NotifySendError as g, NoUnitsProvidedError as h, SystemdTs as i, TimerTargetServiceName as it, CommandExecutor as j, AnySystemdTimer as k, SystemdTsReattachOptions as l, SystemdService as lt, InvalidExecDirectiveError as m, Systemd as n, TimerBaseName as nt, SystemdTsAttachmentResult as o, UnitValue as ot, ExecutableInferenceError as p, SystemctlShowOptions as q, SystemdMaterialization as r, TimerFilename as rt, SystemdTsAttachmentSelector as s, ValidInstallUnits as st, Internal as t, SystemdUnit as tt, defaultSystemd as u, Executable as ut, SystemctlCommandError as v, UnitLogsReadErrorReason as w, SystemdTsError as x, SystemctlCommandErrorReason as y, StartStatus as z };
1644
- //# sourceMappingURL=index-4VL-jAGf.d.mts.map
1645
+ //# sourceMappingURL=index-C9XrvZh3.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-C9XrvZh3.d.mts","names":["I"],"sources":["../src/main/internal.ts","../src/main/executable.ts","../src/main/systemd-service.ts","../src/main/systemd-timer.ts","../src/main/types.ts","../src/main/errors.ts","../src/main/notify.ts","../src/main/systemctl.ts","../src/main/systemd.ts","../src/main/index.ts"],"mappings":";;;KAiBY,OAAO,QAAQ;WAEZ;WACA,OAAO;;WAGP;WACA,OAAO;;KAgBjB;iBAEW,kBAAkB,cAAc;iBAIhC,uBAAuB,SAAS;iBAShC,uBAAuB;iBAQvB,kBAAkB,iBAAiB,wBAAwB,qBACzE,SAAS,WACR,SAAS;iBAUI,iBAAiB,iBAAiB,yBAChD,SAAS,WACR;iBAgBa,uBACd,SAAS,wBACR,aAAa;iBAcA,iBAAiB,cAAc,iBAAiB;iBA4BhD,eACd,UAAU,gCAAgC,4BACzC,eAAe;iBAuDI,uBACpB,iBACA,yBACA,UAAS,0BACR,QAAQ;iBAYW,WAAW,eAAe;iBAS1B,WACpB,iCACA,SAAS,gBACR;iBAmDa,qBAAqB,iBAAiB;;;;;;;;;;;;;;;;cC3PzC;;WAEK;;WAEA,gBAAgB;;WAEhB;;WAEA;;;;;;;;;;;;EAahB,YAAmB,UAAS;;;;;;;EAkBrB,kBAAkB,uCAAuC;;;;;EAkBzD,eAAe,eAAe;;;;;;;;;;;;;;;;;;;;;iBAgCvB,iBACd,iBAAiB,eACjB,UAAS,oBACR;;;;;;;;;;;;;;cCvFU,qBAAqB,iBAAiB,wBAA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f,kBAAkB,wBAAwB,kBAClD,OAAO,SAAS,kBAAkB,UACpC,QACD,OACE,uBAAuB,SACrB,2BACA,4BACA,uBACA;;;;;;;;EAaO,UACR,gBAAgB,gBAClB,QAAQ,aAAa,uBAAuB;;;;;;;;EAkDlC,MAAM,MAAM,cAAc,QAAQ,OAAO,aAAa;;;;;;;;EAoEtD,KACX,MAAM,aACN,UAAU,cACT,QAAQ,eAAe;;EAsDnB,QAAQ,MAAM;UAIP;UAiDN;UAIM;UA2CA;UAiBA;UA4DA;;;;;;;;;cA6BH;mBACM;EAEjB,YAAmB,SAAS;EAKf,OACX,gBAAgB,eAChB,SAAS,yBACR,QACD,OACE,2BACE,2BACA,4BACA,uBACA,kBACA,2BACA;EAwDO,OACX,UAAU,6BACV,UAAS,yBACR,QACD;aAEa;aACA;aACA;aACA;aACA;KAEX;EA+CS,SACX,gBAAgB,eAChB,SAAS,2BACR,QACD,OACE,2BACE,2BACA,4BACA,uBACA,kBACA,2BACA,iBACA;UA0FQ;UA0BA;UAiDA;UAMN;UAIM;UASA;UAQA;UAIN;UAIM;;;;;;;;iBAyCA,kBAAkB;;;;;;;cCl2BrB,iBAAiBA"}
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as SystemdServiceOptions, A as CommandExecutionOptions, B as SystemctlActiveState, C as UnitLogsReadError, D as UnitStartError, E as UnitMaterializationErrorReason, F as MaterializedUnit, G as SystemctlOptions, H as SystemctlIsEnabledOptions, I as NotifyOptions, J as SystemctlStateQueryOptions, K as SystemctlServiceStatus, L as ServiceBaseName, M as CommandOutput, N as ExecutableOptions, O as AnySystemdService, P as LogsOptions, Q as SystemdOptions, R as ServiceFilename, S as UnitEnableError, T as UnitMaterializationError, U as SystemctlIsSystemRunningOptions, V as SystemctlEnablementState, W as SystemctlListTimersOptions, X as SystemctlSystemRunningState, Y as SystemctlStatusOptions, Z as SystemctlTimerListEntry, _ as NotifySendErrorReason, a as SystemdTsAttachOptions, at as TimerTargetUnit, b as SystemdCommandEnvironmentReason, c as SystemdTsDetachOptions, ct as SystemdTimer, d as Systemctl, dt as defineExecutable, et as SystemdTimerOptions, f as notify, ft as Result, g as NotifySendError, h as NoUnitsProvidedError, i as SystemdTs, it as TimerTargetServiceName, j as CommandExecutor, k as AnySystemdTimer, l as SystemdTsReattachOptions, lt as SystemdService, m as InvalidExecDirectiveError, n as Systemd, nt as TimerBaseName, o as SystemdTsAttachmentResult, ot as UnitValue, p as ExecutableInferenceError, q as SystemctlShowOptions, r as SystemdMaterialization, rt as TimerFilename, s as SystemdTsAttachmentSelector, st as ValidInstallUnits, t as Internal, tt as SystemdUnit, u as defaultSystemd, ut as Executable, v as SystemctlCommandError, w as UnitLogsReadErrorReason, x as SystemdTsError, y as SystemctlCommandErrorReason, z as StartStatus } from "./index-4VL-jAGf.mjs";
1
+ import { $ as SystemdServiceOptions, A as CommandExecutionOptions, B as SystemctlActiveState, C as UnitLogsReadError, D as UnitStartError, E as UnitMaterializationErrorReason, F as MaterializedUnit, G as SystemctlOptions, H as SystemctlIsEnabledOptions, I as NotifyOptions, J as SystemctlStateQueryOptions, K as SystemctlServiceStatus, L as ServiceBaseName, M as CommandOutput, N as ExecutableOptions, O as AnySystemdService, P as LogsOptions, Q as SystemdOptions, R as ServiceFilename, S as UnitEnableError, T as UnitMaterializationError, U as SystemctlIsSystemRunningOptions, V as SystemctlEnablementState, W as SystemctlListTimersOptions, X as SystemctlSystemRunningState, Y as SystemctlStatusOptions, Z as SystemctlTimerListEntry, _ as NotifySendErrorReason, a as SystemdTsAttachOptions, at as TimerTargetUnit, b as SystemdCommandEnvironmentReason, c as SystemdTsDetachOptions, ct as SystemdTimer, d as Systemctl, dt as defineExecutable, et as SystemdTimerOptions, f as notify, ft as Result, g as NotifySendError, h as NoUnitsProvidedError, i as SystemdTs, it as TimerTargetServiceName, j as CommandExecutor, k as AnySystemdTimer, l as SystemdTsReattachOptions, lt as SystemdService, m as InvalidExecDirectiveError, n as Systemd, nt as TimerBaseName, o as SystemdTsAttachmentResult, ot as UnitValue, p as ExecutableInferenceError, q as SystemctlShowOptions, r as SystemdMaterialization, rt as TimerFilename, s as SystemdTsAttachmentSelector, st as ValidInstallUnits, t as Internal, tt as SystemdUnit, u as defaultSystemd, ut as Executable, v as SystemctlCommandError, w as UnitLogsReadErrorReason, x as SystemdTsError, y as SystemctlCommandErrorReason, z as StartStatus } from "./index-C9XrvZh3.mjs";
2
2
  export { type AnySystemdService, type AnySystemdTimer, type CommandExecutionOptions, type CommandExecutor, type CommandOutput, Executable, ExecutableInferenceError, type ExecutableOptions, Internal, InvalidExecDirectiveError, type LogsOptions, type MaterializedUnit, NoUnitsProvidedError, type NotifyOptions, NotifySendError, type NotifySendErrorReason, type Result, type ServiceBaseName, type ServiceFilename, type StartStatus, Systemctl, type SystemctlActiveState, SystemctlCommandError, type SystemctlCommandErrorReason, type SystemctlEnablementState, type SystemctlIsEnabledOptions, type SystemctlIsSystemRunningOptions, type SystemctlListTimersOptions, type SystemctlOptions, type SystemctlServiceStatus, type SystemctlShowOptions, type SystemctlStateQueryOptions, type SystemctlStatusOptions, type SystemctlSystemRunningState, type SystemctlTimerListEntry, Systemd, type SystemdCommandEnvironmentReason, SystemdMaterialization, type SystemdOptions, SystemdService, type SystemdServiceOptions, SystemdTimer, type SystemdTimerOptions, SystemdTs, type SystemdTsAttachOptions, type SystemdTsAttachmentResult, type SystemdTsAttachmentSelector, type SystemdTsDetachOptions, SystemdTsError, type SystemdTsReattachOptions, type SystemdUnit, type TimerBaseName, type TimerFilename, type TimerTargetServiceName, type TimerTargetUnit, UnitEnableError, UnitLogsReadError, type UnitLogsReadErrorReason, UnitMaterializationError, type UnitMaterializationErrorReason, UnitStartError, type UnitValue, type ValidInstallUnits, defaultSystemd, defineExecutable, notify };
package/dist/index.mjs CHANGED
@@ -1,2 +1 @@
1
- import { _ as SystemdTsError, a as defaultSystemd, b as UnitMaterializationError, c as SystemdService, d as defineExecutable, f as ExecutableInferenceError, g as SystemctlCommandError, h as NotifySendError, i as SystemdTs, l as notify, m as NoUnitsProvidedError, n as Systemd, o as Systemctl, p as InvalidExecDirectiveError, r as SystemdMaterialization, s as SystemdTimer, t as Internal, u as Executable, v as UnitEnableError, x as UnitStartError, y as UnitLogsReadError } from "./main-BlzhT1eg.mjs";
2
- export { Executable, ExecutableInferenceError, Internal, InvalidExecDirectiveError, NoUnitsProvidedError, NotifySendError, Systemctl, SystemctlCommandError, Systemd, SystemdMaterialization, SystemdService, SystemdTimer, SystemdTs, SystemdTsError, UnitEnableError, UnitLogsReadError, UnitMaterializationError, UnitStartError, defaultSystemd, defineExecutable, notify };
1
+ export { u as Executable, f as ExecutableInferenceError, t as Internal, p as InvalidExecDirectiveError, m as NoUnitsProvidedError, h as NotifySendError, o as Systemctl, g as SystemctlCommandError, n as Systemd, r as SystemdMaterialization, c as SystemdService, s as SystemdTimer, i as SystemdTs, _ as SystemdTsError, v as UnitEnableError, y as UnitLogsReadError, b as UnitMaterializationError, x as UnitStartError, a as defaultSystemd, d as defineExecutable, l as notify } from "./main-BlzhT1eg.mjs";
package/dist/test.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { j as CommandExecutor, n as Systemd } from "./index-4VL-jAGf.mjs";
1
+ import { j as CommandExecutor, n as Systemd } from "./index-C9XrvZh3.mjs";
2
2
  //#region src/test/host.d.ts
3
3
  interface TestHostInfo {
4
4
  readonly backend: TestHostBackendName;
package/package.json CHANGED
@@ -1,38 +1,41 @@
1
1
  {
2
2
  "name": "systemd-ts",
3
- "version": "262.0.0",
3
+ "version": "262.1.0",
4
4
  "description": "TypeScript builders and helpers for systemd services and timers.",
5
- "license": "LGPL-2.1-or-later",
6
5
  "repository": {
7
6
  "type": "git",
8
7
  "url": "git+https://github.com/jeremybanka/systemd-ts.git",
9
8
  "directory": "packages/systemd-ts"
10
9
  },
11
- "files": [
12
- "dist",
13
- "src"
14
- ],
10
+ "license": "LGPL-2.1-or-later",
15
11
  "type": "module",
16
12
  "exports": {
17
13
  ".": "./dist/index.mjs",
18
14
  "./test": "./dist/test.mjs",
19
15
  "./package.json": "./package.json"
20
16
  },
21
- "publishConfig": {
22
- "access": "public"
23
- },
17
+ "files": [
18
+ "dist",
19
+ "src"
20
+ ],
24
21
  "devDependencies": {
25
- "@types/node": "26.6.2",
22
+ "@types/node": "26.6.5",
26
23
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
27
24
  "takua": "0.2.3",
28
25
  "typescript": "7.0.2",
29
- "vite-plus": "0.3.3",
30
- "vitest": "5.0.1"
26
+ "vite-plus": "1.3.0"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
31
30
  },
32
31
  "scripts": {
33
32
  "build": "vp pack",
33
+ "check": "pnpm run check:fmt && pnpm run check:vp",
34
+ "check:fmt": "dprint check .",
35
+ "check:vp": "vp check --no-fmt",
34
36
  "dev": "vp pack --watch",
37
+ "fmt": "dprint fmt .",
35
38
  "test": "vp run test:task",
36
- "check": "vp check"
39
+ "test:watch": "vp test watch"
37
40
  }
38
41
  }
package/src/main/types.ts CHANGED
@@ -126,6 +126,7 @@ export type StandardOutputDirectiveValue =
126
126
  | `truncate:${string}`
127
127
  | `fd:${string}`;
128
128
  export type StandardErrorDirectiveValue = StandardOutputDirectiveValue | "inherit";
129
+ /** Command lines for `Exec*=` directives. A `+` executable prefix bypasses per-command privilege restrictions and `Limit*=` settings, including manager-configured defaults; the command inherits the service manager's resource limits. Controls applying to the whole cgroup still apply. Source: systemd v262.1, `systemd.service(5)`. */
129
130
  export type ExecDirective = string | Executable | readonly (string | Executable)[];
130
131
  export type UnitValue = string | number | boolean | Executable;
131
132
  export type UnitValueList = readonly UnitValue[];
@@ -139,7 +140,7 @@ export interface CustomDirectiveSection {
139
140
  * Generic unit-level directives shared by service and timer units.
140
141
  *
141
142
  * References in this file are grounded in cached upstream systemd manpages,
142
- * reviewed through v262. Individual directives identify their documentation source.
143
+ * reviewed through v262.1. Individual directives identify their documentation source.
143
144
  *
144
145
  * Sources:
145
146
  * - systemd v262, `systemd.unit(5)`
@@ -453,7 +454,7 @@ export interface SystemdTimerSection extends CustomDirectiveSection {
453
454
  *
454
455
  * This interface includes directives from `systemd.service(5)`,
455
456
  * `systemd.exec(5)`, `systemd.kill(5)`, and
456
- * `systemd.resource-control(5)`, reviewed through systemd v262.
457
+ * `systemd.resource-control(5)`, reviewed through systemd v262.1.
457
458
  */
458
459
  export interface SystemdServiceSection extends CustomDirectiveSection {
459
460
  /** This setting controls the cpuset controller in the unified hierarchy. Source: systemd v260.1, `systemd.resource-control(5)`. */
@@ -626,37 +627,37 @@ export interface SystemdServiceSection extends CustomDirectiveSection {
626
627
  readonly KillMode?: "control-group" | "mixed" | "process" | "none";
627
628
  /** Specifies which signal to use when stopping a service. This controls the signal that is sent as first step of shutting down a unit (see above), and is usually followed by SIGKILL (see above and below). For a list of valid signals, see signal(7). Defaults to SIGTERM. Source: systemd v260.1, `systemd.kill(5)`. */
628
629
  readonly KillSignal?: NodeJS.Signals | number;
629
- /** Maximum address-space size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
630
+ /** Maximum address-space size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
630
631
  readonly LimitAS?: ProcessResourceLimitDirectiveValue;
631
- /** Maximum core-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
632
+ /** Maximum core-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
632
633
  readonly LimitCORE?: ProcessResourceLimitDirectiveValue;
633
- /** Maximum CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
634
+ /** Maximum CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
634
635
  readonly LimitCPU?: ProcessResourceLimitDirectiveValue;
635
- /** Maximum data-segment size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
636
+ /** Maximum data-segment size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
636
637
  readonly LimitDATA?: ProcessResourceLimitDirectiveValue;
637
- /** Maximum created-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
638
+ /** Maximum created-file size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
638
639
  readonly LimitFSIZE?: ProcessResourceLimitDirectiveValue;
639
- /** Maximum number of file locks for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
640
+ /** Maximum number of file locks for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
640
641
  readonly LimitLOCKS?: ProcessResourceLimitDirectiveValue;
641
- /** Maximum locked-in-memory size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
642
+ /** Maximum locked-in-memory size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
642
643
  readonly LimitMEMLOCK?: ProcessResourceLimitDirectiveValue;
643
- /** Maximum POSIX message-queue size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
644
+ /** Maximum POSIX message-queue size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
644
645
  readonly LimitMSGQUEUE?: ProcessResourceLimitDirectiveValue;
645
- /** Maximum nice-priority adjustment for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
646
+ /** Maximum nice-priority adjustment for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
646
647
  readonly LimitNICE?: ProcessResourceLimitDirectiveValue;
647
- /** Maximum number of open file descriptors for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
648
+ /** Maximum number of open file descriptors for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
648
649
  readonly LimitNOFILE?: ProcessResourceLimitDirectiveValue;
649
- /** Maximum number of processes or threads for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
650
+ /** Maximum number of processes or threads for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
650
651
  readonly LimitNPROC?: ProcessResourceLimitDirectiveValue;
651
- /** Maximum resident-set size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
652
+ /** Maximum resident-set size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
652
653
  readonly LimitRSS?: ProcessResourceLimitDirectiveValue;
653
- /** Maximum real-time scheduling priority for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
654
+ /** Maximum real-time scheduling priority for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
654
655
  readonly LimitRTPRIO?: ProcessResourceLimitDirectiveValue;
655
- /** Maximum real-time CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
656
+ /** Maximum real-time CPU time for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
656
657
  readonly LimitRTTIME?: ProcessResourceLimitDirectiveValue;
657
- /** Maximum number of queued signals for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
658
+ /** Maximum number of queued signals for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
658
659
  readonly LimitSIGPENDING?: ProcessResourceLimitDirectiveValue;
659
- /** Maximum stack size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Source: systemd v260.1, `systemd.exec(5)`. */
660
+ /** Maximum stack size for processes started by the unit. Accepts the usual `soft:hard` syntax, `infinity`, and unit suffixes where systemd allows them. Commands prefixed with `+` bypass this setting and its configured default, inheriting the service manager's resource limits instead. Source: systemd v262.1, `systemd.exec(5)`. */
660
661
  readonly LimitSTACK?: ProcessResourceLimitDirectiveValue;
661
662
  /** Pass a credential to the unit. Credentials are limited-size binary or textual objects that may be passed to unit processes. They are primarily intended for passing cryptographic keys (both public and private) or certificates, user account information or identity information from host to services, but can be freely used to pass any kind of limited-size information to a service. The data is accessible from the unit's processes via the file system, at a read-only location that (if possible and permitted) is backed by non-swappable memory. The data is only accessible to the user associated with the unit, via the User=/DynamicUser= settings (as well as the superuser). When available, the location of credentials is exported as the $CREDENTIALS_DIRECTORY environment variable to the unit's processes. Source: systemd v260.1, `systemd.exec(5)`. */
662
663
  readonly LoadCredential?: string | readonly string[];
@@ -838,7 +839,7 @@ export interface SystemdServiceSection extends CustomDirectiveSection {
838
839
  readonly RestrictNamespaces?: boolean | string | readonly string[];
839
840
  /** Takes a list of space-separated network interface names. This option restricts the network interfaces that processes of this unit can use. By default, processes can only use the network interfaces listed (allow-list). If the first character of the rule is ~, the effect is inverted: the processes can only use network interfaces not listed (deny-list). Source: systemd v260.1, `systemd.resource-control(5)`. */
840
841
  readonly RestrictNetworkInterfaces?: string | readonly string[];
841
- /** If set, any attempts to enable realtime scheduling in a process of the unit are refused. This restricts access to realtime task scheduling policies such as SCHED_FIFO, SCHED_RR or SCHED_DEADLINE. See sched7 for details about these scheduling policies. Realtime scheduling policies may be used to monopolize CPU time for longer periods of time, and may hence be used to lock up or otherwise trigger Denial-of-Service situations on the system. It is hence recommended to restrict access to realtime scheduling to the few programs that actually require them. Defaults to off. Source: systemd v260.1, `systemd.exec(5)`. */
842
+ /** If set, any attempts to enable realtime scheduling in a process of the unit are refused. This restricts access to realtime task scheduling policies such as SCHED_FIFO, SCHED_RR or SCHED_DEADLINE. See sched7 for details about these scheduling policies. Realtime scheduling policies may be used to monopolize CPU time for longer periods of time, and may hence be used to lock up or otherwise trigger Denial-of-Service situations on the system. It is hence recommended to restrict access to realtime scheduling to the few programs that actually require them. The system call filter cannot inspect the scheduling policy passed to `sched_setattr()`, so that call is blocked entirely, including for non-realtime uses. Defaults to off. Source: systemd v262.1, `systemd.exec(5)`. */
842
843
  readonly RestrictRealtime?: boolean;
843
844
  /** If set, any attempts to set the set-user-ID (SUID) or set-group-ID (SGID) bits on files or directories will be denied (for details on these bits see inode7). As the SUID/SGID bits are mechanisms to elevate privileges, and allow users to acquire the identity of other users, it is recommended to restrict creation of SUID/SGID files to the few programs that actually require them. Note that this restricts marking of any type of file system object with these bits, including both regular files and directories (where the SGID is a different meaning than for files, see documentation). This option is implied if DynamicUser= is enabled. Seccomp blocks calls with directly supplied mode bits only when SUID or SGID is requested, but blocks calls such as openat2() entirely because their mode bits cannot be inspected. Source: systemd v261.3, `systemd.exec(5)`. */
844
845
  readonly RestrictSUIDSGID?: boolean;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-4VL-jAGf.d.mts","names":[],"sources":["../src/main/internal.ts","../src/main/executable.ts","../src/main/systemd-service.ts","../src/main/systemd-timer.ts","../src/main/types.ts","../src/main/errors.ts","../src/main/notify.ts","../src/main/systemctl.ts","../src/main/systemd.ts","../src/main/index.ts"],"mappings":";;;KAiBY,OAAO,QAAQ;WAEZ;WACA,OAAO;;WAGP;WACA,OAAO;;KAgBjB;iBAEW,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