1
0
Files
NoBullShit-cloud/tools/template-nbscloud.service
MK13 7ec613f0f4 #9 Add systemd user service
Fix service file, because the hardening does not make that much sense as it is run as --user anyway
2022-05-08 22:27:06 +02:00

19 lines
376 B
Desktop File

[Unit]
Description=NoBullShit-cloud - A personal cloud without bullshit
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
# Values substituted from application.properties
ExecStart=java -jar DEPLOY_PATH_R/nbscloud.jar
ReadWritePaths=BASE_DIR_R
# Hardening
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
[Install]
WantedBy=multi-user.target