# Plexconnect daemon and freenas 9.2

**URL:** <https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480>\
**Category:** Apps & Creations\
**Created:** [January 26, 2014, 11:20am UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480 "2014-01-26T11:20:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![poiex](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@poiex](https://forums.plex.tv/u/poiex)\
**Post date:** [January 26, 2014, 11:20am UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480/1 "2014-01-26T11:20:06Z")

</div>

Hi im trying to find quides how to start plexconnect automatically at startup but cannot find how to do it?

My plex is working fine with manual startup command bash /PlexConnect/PlexConnect\_daemon.bash start&nbsp;

i wanted it to kick in at startup, do i have to edit files inside jail or in main root user?

&nbsp;

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [January 26, 2014, 12:56pm UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480/2 "2014-01-26T12:56:41Z")

</div>

[https://forums.plex.tv/index.php?/topic/82890-Feature-Request%3A-Daemon-for-FreeBSD](https://forums.plex.tv/index.php?/topic/82890-Feature-Request%3A-Daemon-for-FreeBSD)

---

<div class="post-metadata">

**Author:** ![poiex](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@poiex](https://forums.plex.tv/u/poiex)\
**Post date:** [January 26, 2014, 8:12pm UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480/3 "2014-01-26T20:12:00Z")

</div>

I allready tryed that post but i got nowhere with it made the file in Plexmediaserver jail /usr/local/etc/rc.d/plexConnect\_daemon and pasted the code:

#! /bin/sh  
#  
#  
# PROVIDE: plexConnect\_daemon  
# REQUIRE: DAEMON  
# KEYWORD: shutdown  
. /etc/rc.subr  
name="plexconnect"  
rcvar=`set_rcvar`  
&nbsp;  
command="/usr/local/bin/python"  
pidfile="/var/run/${name}.pid"  
plexconnect\_flags="/usr/local/plexconnect/PlexConnect/PlexConnect\_daemon.py --pidfile $pidfile"  
eval ${name}\_flags=\"${plexconnect\_flags}\"  
load\_rc\_config $name  
run\_rc\_command "$1"

Could i just start it with sameway as the plexmediaserver?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [January 26, 2014, 11:12pm UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480/4 "2014-01-26T23:12:42Z")

</div>

There is also this topic: [https://forums.plex.tv/index.php?/topic/80919-Help-getting-Plexconnect-to-work-on-Nas4free](https://forums.plex.tv/index.php?/topic/80919-Help-getting-Plexconnect-to-work-on-Nas4free)

---

<div class="post-metadata">

**Author:** ![Alexeytr](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@Alexeytr](https://forums.plex.tv/u/Alexeytr)\
**Post date:** [January 27, 2014, 5:22am UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480/5 "2014-01-27T05:22:26Z")

</div>

Assuming that FreeNAS inherits FreeBSD rc system you need to edit _/etc/rc.conf_:

plexconnect\_enable="YES"

make sure that plexConnect\_daemon has execute permissions, try to start it manually&nbsp;

_/usr/local/etc/rc.d/plexConnect\_daemon start_

If you run plexconnect in jail, I believe editing should be done inside the jail.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 1:09am UTC](https://forums.plex.tv/t/plexconnect-daemon-and-freenas-9-2/55480/6 "2019-12-21T01:09:22Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
