added systemd timer
This commit is contained in:
parent
c0bcac94f0
commit
b31f637259
3 changed files with 20 additions and 0 deletions
2
calamares-launch-script.sh
Normal file
2
calamares-launch-script.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
systemctl enable calamares-launch.timer
|
||||
10
systemd/calamares-launch.service
Normal file
10
systemd/calamares-launch.service
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Service starts calamares_polkit
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=tromjaro
|
||||
ExecStart=/bin/bash calamares_polkit
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
8
systemd/calamares-launch.timer
Normal file
8
systemd/calamares-launch.timer
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Run calamares_polkit on boot
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue