Hi,
there currently wasn't a service file yet.
We used a classic init script in our obenbuild system over at
https://build.opensuse.org/project/repositories/home:fceller:version2(you can use the osc commandile client to checkout the home:fceller:version2 repository)
However, I've created an /etc/systemd/system/arangodb.service with this content:
[Unit]
Description=arango database server
After=sysinit.target sockets.target timers.target paths.target slices.target network.target
[Service]
ExecStart=/usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp-path /var/tmp/arangod --log.tty "" --supervisor
Type=forking
LimitNOFILE=131072
PIDFile=/var/run/arangodb/arangod.pid
[Install]
WantedBy=
And activated it like this:
systemctl daemon-reload
systemctl start arangodb.service
and it basically worked. However, there is one thing you can't handle via the systemd service file: ArangoDB needs to explicitely be started to upgrade an environment if you upgrade the binary.
The init script has the ability to do this for the user. With systemd one would need to find another way to achieve this.
Cheers,
Willi