Commit 45dbb9f6 authored by Roman Alifanov's avatar Roman Alifanov

improved the .service file

parent 5285b632
[Unit]
After=graphical-session.target
Description=Ximper unified theme switcher
After=graphical-session.target
[Service]
ExecStart=/usr/bin/ximper-unified-theme-switcher-service
Restart=on-failure
Type=simple
Restart=always
RestartSec=1
[Install]
......
[Unit]
Description=Ximper unified theme switcher timer
[Timer]
OnStartupSec=3
Unit=ximper-unified-theme-switcher.service
[Install]
WantedBy=default.target
......@@ -11,6 +11,10 @@ install_data(
'./data/ximper-unified-theme-switcher.service',
install_dir: join_paths(prefix, 'lib', 'systemd', 'user')
)
install_data(
'./data/ximper-unified-theme-switcher.timer',
install_dir: join_paths(prefix, 'lib', 'systemd', 'user')
)
cfg_dir = join_paths(sysconfdir, 'ximper-unified-theme-switcher')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment