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
John Schmidt d35be6111d
Switch to packaging v2 and upgrade to v0.58.8
Signed-off-by: John Schmidt <john@schmidthaus.rocks>
2023-02-24 11:00:57 -08:00

18 lines
403 B
Desktop File

[Unit]
Description=Trilium notes server
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
Environment=TRILIUM_DATA_DIR=__DATA_DIR__
Environment=TRILIUM_PORT=__PORT__
Environment="__YNH_NODE_LOAD_PATH__"
Environment=NODE_ENV=production
Environment=TRILIUM_ENV=dev
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__YNH_NODE__ __INSTALL_DIR__/src/www
[Install]
WantedBy=multi-user.target