mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
xdg-autostart-generator: use Type=exec
We check that the binary exists before writing the service file, but let's also not consider the service started until the fork has happened. This is still relatively new stuff, so we're can change the implementation details like this.
This commit is contained in:
parent
333d102c64
commit
67b2edb21f
@ -604,7 +604,7 @@ int xdg_autostart_service_generate_unit(
|
||||
|
||||
fprintf(f,
|
||||
"\n[Service]\n"
|
||||
"Type=simple\n"
|
||||
"Type=exec\n"
|
||||
"ExecStart=:%s\n"
|
||||
"Restart=no\n"
|
||||
"TimeoutSec=5s\n"
|
||||
|
Loading…
Reference in New Issue
Block a user