Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titlePowerFolder.service
[Unit]
Description=PowerFolder-Server

[Service]
Type=simpleforking
User=<OS-username>
PIDFile=/home/<OS-username>/.PowerFolder/PowerFolder-Server.pid
ExecStart=/home/<OS-username>/PowerFolder-Server/PowerFolder-Server.sh start
ExecReload=/home/<OS-username>/PowerFolder-Server/PowerFolder-Server.sh reload
ExecStop=/home/<OS-username>/PowerFolder-Server/PowerFolder-Server.sh stop

TasksMax = 31000
LimitNOFILE = infinity
LimitMEMLOCK = infinity

[Install]
WantedBy=multi-user.target

...