Docker fix
This commit is contained in:
25
etc/systemd/system/bitmessage-appimage.service
Normal file
25
etc/systemd/system/bitmessage-appimage.service
Normal file
@@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description=Bitmessage appimage service
|
||||
Documentation=https://bitmessage.org/wiki/API_Reference
|
||||
ConditionPathExists=/home/bitmessage/PyBitmessage.AppImage
|
||||
After=network.target
|
||||
Wants=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/home/bitmessage/PyBitmessage.AppImage --daemon
|
||||
WorkingDirectory=/home/bitmessage
|
||||
PIDFile=/home/bitmessage/.config/PyBitmessage/singleton.lock
|
||||
KillMode=process
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
#Nice=19
|
||||
|
||||
SyslogIdentifier=bitmessage
|
||||
User=bitmessage
|
||||
Group=bitmessage
|
||||
PrivateTmp=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user