-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set control terminal mode and add other systemd units
- Loading branch information
Sian Cao
committed
May 12, 2014
1 parent
92e69f8
commit 7f9e758
Showing
9 changed files
with
116 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
*.swo | ||
build | ||
*.pyc | ||
log | ||
.zcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Unit] | ||
Description=K Display Manager | ||
After=systemd-user-sessions.service prometheus-quit.service | ||
|
||
[Service] | ||
ExecStart=/usr/bin/kdm -nodaemon | ||
|
||
[Install] | ||
Alias=display-manager.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Show Prometheus Halt Screen | ||
[email protected] | ||
Before=halt.service | ||
DefaultDependencies=no | ||
ConditionKernelCommandLine=!prometheus.enable=0 | ||
|
||
[Service] | ||
ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/prometheusd --stage shutdown | ||
Type=forking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Show Prometheus Reboot with kexec Screen | ||
[email protected] | ||
Before=kexec.service | ||
DefaultDependencies=no | ||
ConditionKernelCommandLine=!prometheus.enable=0 | ||
|
||
[Service] | ||
ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/prometheusd --stage shutdown | ||
Type=forking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Show Prometheus Power Off Screen | ||
[email protected] | ||
Before=poweroff.service | ||
DefaultDependencies=no | ||
ConditionKernelCommandLine=!prometheus.enable=0 | ||
|
||
[Service] | ||
ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/prometheusd --stage shutdown | ||
Type=forking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Show Prometheus Reboot Screen | ||
[email protected] | ||
Before=reboot.service | ||
DefaultDependencies=no | ||
ConditionKernelCommandLine=!prometheus.enable=0 | ||
|
||
[Service] | ||
ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/prometheusd --stage shutdown | ||
Type=forking |