Created
December 26, 2023 19:11
-
-
Save ph20/d94951ba302ba5194c99f67dcc088ab8 to your computer and use it in GitHub Desktop.
workable seafile systemd config /etc/systemd/system/seafile.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Seafile | |
# add mysql.service or postgresql.service depending on your database to the line below | |
After=network.target | |
After=mysql.service | |
Requires=mysql.service | |
[Service] | |
Type=forking | |
ExecStart=/opt/seafilepro/seafile-server-latest/seafile.sh start | |
ExecStop=/opt/seafilepro/seafile-server-latest/seafile.sh stop | |
LimitNOFILE=infinity | |
User=seafilepro | |
Group=seafilepro | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment