initial commit

This commit is contained in:
rustmailer
2025-11-19 02:14:37 +08:00
commit 1a8f95117e
355 changed files with 54089 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
cargo build --release
+32
View File
@@ -0,0 +1,32 @@
[Unit]
Description=Bichon Email Service
After=network.target
Wants=network.target
[Service]
Type=simple
User=bichon
Group=bichon
WorkingDirectory=/opt/bichon
ExecStart=/opt/bichon/bichon
Restart=always
RestartSec=5s
EnvironmentFile=/etc/bichon.conf
StandardOutput=null
StandardError=null
LogsDirectory=bichon
LogsDirectoryMode=0755
LimitNOFILE=65536
LimitCORE=0
PrivateTmp=true
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=read-only
PrivateDevices=true
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target