mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
workflows/mosey-branch: update systemd units
This commit is contained in:
parent
ebafb21bfd
commit
609040329a
@ -6,9 +6,11 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
After=gnome-session-initialized.target
|
After=gnome-session-initialized.target
|
||||||
|
|
||||||
PartOf=@app_id@.@component@.target
|
# These are implied to be `Before=gnome-session.target` since we're packing
|
||||||
|
# them all up in the override configuration of the session target anyways.
|
||||||
Requisite=@app_id@.@component@.target
|
Requisite=@app_id@.@component@.target
|
||||||
Before=@app_id@.@component@.target
|
Before=@app_id@.@component@.target
|
||||||
|
PartOf=@app_id@.@component@.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Slice=session.slice
|
Slice=session.slice
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=@description@
|
Description=@description@
|
||||||
|
Documentation=man:gnome-session(1) man:systemd.special(7)
|
||||||
CollectMode=inactive-or-failed
|
CollectMode=inactive-or-failed
|
||||||
|
|
||||||
# Pull in the service.
|
# Pull in the service.
|
||||||
Wants=@app_id@.@component@.service
|
Wants=@app_id@.@component@.service
|
||||||
|
|
||||||
# Require GNOME session and do some reordering.
|
# Require GNOME session and do some reordering.
|
||||||
Requisite=gnome-session-initialized.target
|
|
||||||
PartOf=gnome-session-initialized.target
|
PartOf=gnome-session-initialized.target
|
||||||
After=gnome-session-initialized.target
|
After=gnome-session-initialized.target
|
||||||
Before=gnome-session.target
|
Before=gnome-session.target
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# This user service is intended to be started with gnome-session.
|
# This user service is intended to be started with gnome-session.
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mosey Branch, a custom desktop session with Hyprland
|
Description=Mosey Branch desktop environment
|
||||||
Documentation=https://wiki.hyprland.org
|
Documentation=https://wiki.hyprland.org
|
||||||
|
|
||||||
After=gnome-manager-manager.target
|
After=gnome-manager-manager.target
|
||||||
@ -13,10 +13,16 @@ CollectMode=inactive-or-failed
|
|||||||
RefuseManualStart=true
|
RefuseManualStart=true
|
||||||
RefuseManualStop=true
|
RefuseManualStop=true
|
||||||
|
|
||||||
|
StartLimitIntervalSec=15
|
||||||
StartLimitBurst=4
|
StartLimitBurst=4
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
|
||||||
Slice=session.slice
|
Slice=session.slice
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ExecStart=@script@
|
ExecStart=@script@
|
||||||
|
|
||||||
|
Type=notify
|
||||||
|
NotifyAccess=all
|
||||||
|
|
||||||
|
OOMScoreAdjust=-1000
|
||||||
|
TimeoutStopSec=5
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[GNOME Session]
|
[GNOME Session]
|
||||||
Name=Mosey Branch
|
Name=Mosey Branch session
|
||||||
# Must be in sync with gnome-session@mosey-branch.target.d/session.conf drop-in.
|
# Must be in sync with gnome-session@mosey-branch.target.d/session.conf drop-in.
|
||||||
RequiredComponents=@required_components@
|
RequiredComponents=@required_components@
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Mosey Branch
|
Description=Mosey Branch session
|
||||||
Documentation=man:systemd.special(7)
|
Documentation=man:gnome-session(1) man:systemd.special(7)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
||||||
Requisite=gnome-session-initialized.target
|
Requisite=gnome-session-initialized.target
|
||||||
|
Loading…
Reference in New Issue
Block a user