-
Notifications
You must be signed in to change notification settings - Fork 157
/
Copy pathsystemd.nanorc
11 lines (9 loc) · 1.17 KB
/
systemd.nanorc
1
2
3
4
5
6
7
8
9
10
11
syntax "systemd" "\.(service|socket)$"
#header "^\[Unit\]$"
KEYWORD: "^(After|Alias|AllowIsolate|Also|Before|BindTo|ConditionCapability|ConditionDirectoryNotEmpty|ConditionFileIsExecutable|ConditionKernelCommandLine|ConditionNull|ConditionPathExists|ConditionPathExistsGlob|ConditionPathIsDirectory|ConditionPathIsMountPoint|ConditionPathIsSymbolicLink|ConditionSecurity|ConditionVirtualization|Conflicts|DefaultDependencies|Description|IgnoreOnIsolate|IgnoreOnSnapshot|JobTimeoutSec|Names|OnFailure|OnFailureIsolate|PropagateReloadFrom|PropagateReloadTo|RefuseManualStart|RefuseManualStop|Requires|RequiresOverridable|Requisite|RequisiteOverridable|StopWhenUnneeded|Timeout|Wanted|WantedBy|Wants)="
KEYWORD: "^(After|Before|BusName|Conflicts|DefaultDependencies|ExecReload|ExecStart|ExecStartPost|ExecStartPre|ExecStop|ExecStopPost|FsckPassNo|GuessMainPID|KillMode|KillSignal|NonBlocking|NotifyAccess|PermissionsStartOnly|PIDFile|RemainAfterExit|Requires|Restart|RestartSec|RootDirectory|RootDirectoryStartOnly|SendSIGKILL|Service|Sockets|SysVStartPriority|TimeoutSec|Type|User)="
OPERATOR: "="
FUNCTION: "^\[(Unit|Install|Service)\]$"
VARIABLE: "\$MAINPID"
COMMENT: "(^|[[:space:]])#.*$"
+LINT