二进制及自命令命名统一简化

This commit is contained in:
2026-09-08 17:01:09 +08:00
parent 6bfe20ee00
commit edfc787e1a
18 changed files with 105 additions and 105 deletions
+11
View File
@@ -0,0 +1,11 @@
# /etc/systemd/system/pn-maint.service
# 每日维护:先 gc(--commit)后备份(§10.3)
[Unit]
Description=Pure Note daily maintenance (gc + backup)
After=pn.service
[Service]
Type=oneshot
User=purenote
ExecStart=/opt/pure-note/pn gc --data-dir /opt/pure-note/data --commit
ExecStart=/opt/pure-note/pn backup --data-dir /opt/pure-note/data /backup/pn-%%F.db