debmaker/ressources/joplin/rootfs-server/etc/systemd/system/joplin-server.service

18 lines
379 B
Desktop File

[Unit]
Description=joplin server
Documentation=https://github.com/laurent22/joplin
After=network.target
[Service]
User=joplin-server
Group=joplin-server
EnvironmentFile=/etc/default/joplin-server
ExecStart=/usr/bin/yarn --cwd /usr/lib/joplin-server/server/ start
WorkingDirectory=/var/lib/joplin-server/
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target