mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-24 20:44:06 +01:00
* systemd: use startup script * script: Start X server using `xvfb-run` if DISPLAY is not set
32 lines
743 B
Desktop File
32 lines
743 B
Desktop File
[Unit]
|
|
Description=A free and open source manga reader server that runs extensions built for Tachiyomi.
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=suwayomi-server
|
|
Group=suwayomi-server
|
|
SyslogIdentifier=suwayomi-server
|
|
|
|
EnvironmentFile=/etc/suwayomi/server.conf
|
|
ExecStart=/usr/bin/suwayomi-server $JAVA_ARGS -Dsuwayomi.tachidesk.config.server.rootDir="${TACHIDESK_ROOT_DIR}"
|
|
Restart=on-failure
|
|
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectClock=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelLogs=yes
|
|
ProtectControlGroups=yes
|
|
RestrictSUIDSGID=yes
|
|
RestrictRealtime=yes
|
|
RestrictNamespaces=yes
|
|
NoNewPrivileges=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|