Age | Commit message (Collapse) | Author |
|
|
|
|
|
Used https://github.com/codimd/server/issues/46 as reference.
This included changing ExecStart back to `npm start` which seems to be
the recommended way.
|
|
according to
https://wiki.archlinux.org/index.php/Web_application_package_guidelines
Thanks to AUR user danieltetraquark for noting.
|
|
Install most of the package to /usr/share/webapps/codimd instead of
/opt/codimd.
The configuration files are now installed in /etc/codimd/ (and symlinked
from /usr/share/webapps/codimd).
The public/uploads folder is now created using tmpfiles.d such that the
codimd user can write to it. It is also symlinked from the main
installation path.
Further:
* The node build dependencies are now removed in the resulting package.
* An .install file prints some adapted upstream recommendations.
* Some node dependencie's Makefile that contains a reference to $pkgdir
is removed.
* The systemd service file now uses node directly instead of npm.
|
|
|
|
|