first commit
This commit is contained in:
12
roles/seaweed/templates/seaweed.service.j2
Normal file
12
roles/seaweed/templates/seaweed.service.j2
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=SeaweedFS - {{ seaweed_service }} Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart={{ seaweed_binary_path }} -logdir={{ seaweed_log_dir }} {{ seaweed_command }} {% for arg in seaweed_args %}{{ arg }} {% endfor +%}
|
||||
User={{ seaweed_user }}
|
||||
Restart=on-failure
|
||||
LimitNOFILE=1048576
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user