Change systemd unit to use default.target

I was having a problem where I'd start my computer but the script wasn't
restarting audomatically, and after some searching I found this:

https://github.com/systemd/systemd/issues/2690#issuecomment-186973730

It looks like we should be using `default.target` instead of
`multi-user.target`.
This commit is contained in:
Christian Bundy 2020-01-05 14:56:08 -08:00
parent 280bf8df70
commit e4f762ea04

View File

@ -12,4 +12,4 @@ ExecStart=%s -l -c 'oasis --host localhost --port 4515 --no-open'
Restart=on-failure
[Install]
WantedBy=multi-user.target
WantedBy=default.target