summarylogtreecommitdiffstats
path: root/codimd.service
AgeCommit message (Collapse)Author
2020-04-26Improve systemd serviceEinhard Leichtfuß
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.
2020-04-26Change configuration directoryEinhard Leichtfuß
according to https://wiki.archlinux.org/index.php/Web_application_package_guidelines Thanks to AUR user danieltetraquark for noting.
2020-03-27Use the file hierarchy systemEinhard Leichtfuß
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.
2020-03-26Initial commitEinhard Leichtfuß