Files
mond/debian/mond.service
T
wangdefaandClaude Opus 4.8 317973e94d
Build and Release Mond / build-and-test (amd64) (push) Successful in 11m47s
Build and Release Mond / build-and-test (arm64) (push) Successful in 18m24s
Build and Release Mond / release (push) Has been skipped
feat: 对齐 xxxig/proxy 打包规范并迁移配置至 /etc/mond
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 22:00:48 +08:00

39 lines
620 B
Desktop File

[Unit]
Description=Mond Cryptocurrency Daemon
After=network.target
[Service]
Type=simple
# 工作目录
WorkingDirectory=/opt/mond
# 执行命令 - 使用配置文件
ExecStart=/opt/mond/mond --config-file=/etc/mond/params.conf --non-interactive
# 重启策略
Restart=always
RestartSec=10
# 用户和组
User=mond
Group=mond
# 安全设置
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/mond /var/log/mond
# 日志设置
StandardOutput=journal
StandardError=journal
SyslogIdentifier=mond
# 资源限制
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target