1 2 3 4 5 6 7 8 9 10 11
[Unit] Description=Trilium Notes server daemon After=syslog.target network.target [Service] Type=simple ExecStart=/opt/trilium-server-cn/trilium.sh WorkingDirectory=/opt/trilium-server-cn [Install] WantedBy=multi-user.target