summarylogtreecommitdiffstats
path: root/systemd.service
blob: ac4ec16bdb523863971b9d1e16f6fa5b9b6d8906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=memos service
Documentation=https://usememos.com/
After=network.target

[Service]
Type=simple
User=memos
Group=memos
Restart=always
RestartSec=1
ExecStart=/usr/bin/memos
EnvironmentFile=-/etc/memos.conf
WorkingDirectory=/var/lib/memos
ReadWritePaths=/var/lib/memos

[Install]
WantedBy=multi-user.target