2018-02-13 13:50 GMT+01:00 Francesco Malvezzi <francesco.malve...@unimore.it>: > hi all, > > I know an init.d systemv startup script is provided with lsc. > > If I had to write a systemd service for lsc, what about the following? > > cat /etc/systemd/system/lsc.service > [Unit] > Description=LSC sync broker > After=network.target > > [Service] > PrivateTmp=true > PIDFile=/run/lsc.pid > Type=oneshot > #Environment=JAVA_HOME=/usr/jvm/lib/latest > User=lsc > Group=lsc > ExecStart=/opt/lsc/bin/lsc -a all -f /opt/lsc/etc > > [Install] > WantedBy=multi-user.target > > is it really that simple? > > How do your systemd services for lsc look like?
Hello, we indeed do not have systemd configuration for LSC now. If your solution is working, we can try to provide it in next LSC packages. You can open a feature request here: https://github.com/lsc-project/lsc/issues Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list lsc-users@lists.lsc-project.org https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users