mirror of
https://github.com/SeriousBug/dotfiles
synced 2024-12-22 02:50:00 -06:00
auto restart services
This commit is contained in:
parent
1480aec7b5
commit
41c05eb1ec
|
@ -1,10 +1,14 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Run blueman applet.
|
Description=Run blueman applet.
|
||||||
After=graphical-session.target
|
After=graphical-session.target
|
||||||
|
StartLimitIntervalSec=600
|
||||||
|
StartLimitBurst=5
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
type=basic
|
type=basic
|
||||||
ExecStart=/usr/bin/blueman-applet
|
ExecStart=/usr/bin/blueman-applet
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Run kdeconnectd.
|
Description=Run kdeconnectd.
|
||||||
After=graphical-session.target
|
After=graphical-session.target
|
||||||
|
StartLimitIntervalSec=600
|
||||||
|
StartLimitBurst=5
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
type=basic
|
type=basic
|
||||||
ExecStart=/usr/lib/kdeconnectd
|
ExecStart=/usr/lib/kdeconnectd
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
Loading…
Reference in a new issue