1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-12-22 10:59:56 -06:00

auto restart services

This commit is contained in:
Kaan Barmore-Genç 2022-03-17 17:10:13 -04:00
parent 1480aec7b5
commit 41c05eb1ec
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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