Skip to content

Commit 7ca2d66

Browse files
committed
Fix manual install with user systemd service
1 parent 5761aca commit 7ca2d66

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install:
1515

1616
install-systemd: install
1717
mkdir -p $(HOME)/.config/systemd/user/
18-
cp multiverse.service $(HOME)/.config/systemd/user
18+
cp misc/multiverse-user.service $(HOME)/.config/systemd/user
1919

2020
test:
2121
$(GOCC) test ./... -cover

misc/multiverse-user.service

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=Multiverse daemon
3+
After=network.target
4+
5+
[Service]
6+
ExecStart=/bin/bash -c "exec $HOME/go/bin/multi daemon"
7+
Restart=always
8+
RestartSec=5s
9+
10+
[Install]
11+
WantedBy=default.target

0 commit comments

Comments
 (0)