updated the systemd service

parent eb3dc8ed
[Unit]
Description=Ximper unified theme switcher
After=graphical-session.target
[Service]
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/ximper-unified-theme-switcher-service
Type=simple
Restart=always
RestartSec=1
Restart=on-failure
[Install]
WantedBy=default.target
WantedBy=graphical.target
[Unit]
Description=Ximper unified theme switcher timer
[Timer]
OnStartupSec=3
Unit=ximper-unified-theme-switcher.service
[Install]
WantedBy=default.target
......@@ -11,10 +11,6 @@ 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