Re: systemd session abandoned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2014-08-19 22:42, Steven Stern wrote:
> I did this service file myself... does anything here look fishy?
>
> $ more /etc/systemd/system/dropbox.service
>
> [Unit]
> Description=Dropbox as a system service
>
> [Service]
> ExecStart=/home/sdstern/.dropbox-dist/dropboxd
> User=sdstern
> # 'LANG' might be unnecessary, since systemd already sets the
> # locale for all services according to "/etc/locale.conf".
> # Run `systemctl show-environment` to make sure.
> Environment=LANG=en_US.utf-8
>
> [Install]
> WantedBy=multi-user.target
>

I don't know anything about dropboxd, but it might be that
you need "Type=forking" in the service section.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux