Auto-start a service?
Auto-start a service?
I've installed a service with `wine service.exe -i`. I start it with `wine net start service.exe`. How can I make it to auto-start on boot? I've compiled wine without x-server.
Re: Auto-start a service?
Write a systemd .service file?
Re: Auto-start a service?
Hm, how can I do that?
Re: Auto-start a service?
@htorbovhtorbov wrote:Hm, how can I do that?
With Google and the manual?
No... I'm kidding of course...
See: systemd.service Serrvice Unit ...
To avoid running Wine as root (bad!) - you'd probably want to use a systemd User Service Unit.
See: Arch Wiki: systemd/User ...
If your unspecified Linux Distribution uses systemd you can poke about in the existing Service Unit files for hints on how they are laid out.
Definitely read the documentation... It's pretty clear IMHO.
Being spoon-fed answers does not lead to better understanding of a subject...
So a least have a go first - best way to learn IMHO!
Bob