-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add systemd service for filtering kernel
- Loading branch information
1 parent
6cc2517
commit 8d4679f
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
live/root/etc/systemd/system/agama-cmdline-process.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,20 @@ | ||
[Unit] | ||
Description=Agama kernel cmdline processing | ||
|
||
# have to be after network to be able to download info files | ||
After=network-online.target | ||
|
||
# before starting the Agama servers so they read configuration parsed | ||
Before=agama-web-server.service | ||
Before=agama.service | ||
Before=x11-autologin.service | ||
|
||
[Service] | ||
Type=oneshot | ||
Environment=TERM=linux | ||
ExecStart=kernel-cmdline-conf.sh | ||
StandardInput=tty | ||
TimeoutSec=0 | ||
|
||
[Install] | ||
WantedBy=default.target |