浏览代码

set the cwd in the service file

otherwise it wouldn't find the codemirror files
Lucas Stadler 11 年之前
父节点
当前提交
e54378152c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      go/linguaevalia/etc/linguaevalia.service

+ 1 - 0
go/linguaevalia/etc/linguaevalia.service

5
User=nobody
5
User=nobody
6
Group=nobody
6
Group=nobody
7
ExecStart=/home/lu/k/lp/go/linguaevalia/linguaevalia server -p 8042
7
ExecStart=/home/lu/k/lp/go/linguaevalia/linguaevalia server -p 8042
8
WorkingDirectory=/home/lu/k/lp/go/linguaevalia
8
9
9
[Install]
10
[Install]
10
WantedBy=multi-user.target
11
WantedBy=multi-user.target