32 lines
720 B
Desktop File
32 lines
720 B
Desktop File
[Unit]
|
|
Description=PostfixAdmin-RS mail administration panel
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=postfixadmin
|
|
Group=postfixadmin
|
|
WorkingDirectory=/var/lib/postfixadmin-rs
|
|
Environment=POSTFIXADMIN_RS_CONFIG=/etc/postfixadmin-rs/config.toml
|
|
EnvironmentFile=-/etc/default/postfixadmin-rs
|
|
ExecStart=/usr/bin/postfixadmin-rs
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
UMask=0077
|
|
StateDirectory=postfixadmin-rs
|
|
StateDirectoryMode=0750
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectHome=true
|
|
ProtectSystem=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
LockPersonality=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|