diff options
author | Nriver | 2023-01-10 09:42:10 +0800 |
---|---|---|
committer | Nriver | 2023-01-10 09:42:10 +0800 |
commit | d4171bca52e05c388447f3539f3ef9af4f374411 (patch) | |
tree | ca1d795ca9ad0943211e1fd00710851125183299 /trilium-server.service | |
parent | c0a0cd94da02cf7a138eb14de239ad700a0ad67b (diff) | |
download | aur-d4171bca52e05c388447f3539f3ef9af4f374411.tar.gz |
fix executable and service
Diffstat (limited to 'trilium-server.service')
-rw-r--r-- | trilium-server.service | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/trilium-server.service b/trilium-server.service deleted file mode 100644 index 2fdbc4617cca..000000000000 --- a/trilium-server.service +++ /dev/null @@ -1,40 +0,0 @@ -[Unit] -Description=Trilium Notes server daemon -After=syslog.target network.target - -[Service] -User=triliumserver -Group=triliumserver -Type=simple -Environment=TRILIUM_DATA_DIR=trilium-data/ -ExecStart=./trilium.sh -WorkingDirectory=/opt/trilium-server - -# Security -ProtectProc=invisible -ProtectSystem=strict -ReadWritePaths=/var/lib/trilium-server -ProtectHome=yes -PrivateTmp=yes -PrivateDevices=yes -PrivateIPC=yes -PrivateUsers=yes -ProtectHostname=yes -ProtectClock=yes -ProtectKernelTunables=yes -ProtectKernelModules=yes -ProtectKernelLogs=yes -ProtectControlGroups=yes -RestrictNamespaces=yes -LockPersonality=yes -RestrictSUIDSGID=yes -RemoveIPC=yes -NoNewPrivileges=yes -SystemCallArchitectures=native - -TimeoutStopSec=20 -# KillMode=process leads to error, according to https://www.freedesktop.org/software/systemd/man/systemd.kill.html -Restart=always - -[Install] -WantedBy=multi-user.target
\ No newline at end of file |