debmaker/ressources/joplin-server/rootfs/usr/lib/systemd/system/joplin-server.service

18 lines
381 B
SYSTEMD
Raw Normal View History

2022-01-23 21:49:01 +01:00
[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
2022-09-21 01:59:25 +02:00
ExecStart=/usr/bin/yarn --cwd /usr/share/joplin-server/server/ start
2022-01-23 21:49:01 +01:00
WorkingDirectory=/var/lib/joplin-server/
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target