From e4f762ea047427becea23fc8158280a6e226aaa5 Mon Sep 17 00:00:00 2001 From: Christian Bundy Date: Sun, 5 Jan 2020 14:56:08 -0800 Subject: [PATCH] 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`. --- contrib/oasis.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/oasis.service b/contrib/oasis.service index 8888ab3..2dde4e9 100644 --- a/contrib/oasis.service +++ b/contrib/oasis.service @@ -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