1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/trilium_ynh.git synced 2024-10-01 13:34:49 +02:00
trilium_ynh/conf/systemd.service

19 lines
403 B
SYSTEMD
Raw Normal View History

2021-03-29 16:24:15 +02:00
[Unit]
2021-03-31 19:55:10 +02:00
Description=Trilium notes server
2021-03-29 16:24:15 +02:00
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
Environment=TRILIUM_DATA_DIR=__DATA_DIR__
2022-07-03 23:32:02 +02:00
Environment=TRILIUM_PORT=__PORT__
Environment="__YNH_NODE_LOAD_PATH__"
2021-04-26 00:16:05 +02:00
Environment=NODE_ENV=production
Environment=TRILIUM_ENV=dev
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__YNH_NODE__ __INSTALL_DIR__/src/www
2021-03-29 16:24:15 +02:00
[Install]
WantedBy=multi-user.target