mirror of
https://github.com/OPSnet/PostOffice.git
synced 2026-01-16 14:04:33 -05:00
17 lines
394 B
Desktop File
17 lines
394 B
Desktop File
[Unit]
|
|
Description=PostOffice SMTPD Daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
PIDFile=/run/postoffice/postoffice.pid
|
|
# User=user
|
|
# Group=group
|
|
RuntimeDirectory=postoffice
|
|
WorkingDirectory=/location/to/postoffice
|
|
ExecStart=/usr/bin/python3 -u smtpd.py localhost 12345
|
|
# ExecReload=/bin/kill -s HUP $MAINPID
|
|
# ExecStop=/bin/kill -s TERM $MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |